PDA

Bekijk de volledige versie : Saving scripts ?



luisfmoreira
24-08-2009, 14:42
Hi everyone !

Can anyone please tell me what to do after I edit a config file in the router (in this case smb.conf) because after I save it (in VI) and reboot it looses the changes anyway? Thankx

newbiefan
24-08-2009, 20:09
Hi everyone !

Can anyone please tell me what to do after I edit a config file in the router (in this case smb.conf) because after I save it (in VI) and reboot it looses the changes anyway? Thankx

Well, it's easy:
You can install whatever you want - just use wengis howto from here:
http://www.wl500g.info/showthread.php?t=10307

There is a complete description of samba installation and other useful things.
Have fun...

luisfmoreira
25-08-2009, 12:38
Thankx, I've been reading that! I managed to sort of do what I intended !

EdP
29-08-2009, 01:15
The secret is in this:


flashfs save && flashfs commit && flashfs enable && reboot

That will save the flash memory and reboot.

luisfmoreira
02-09-2009, 18:43
Thankx a lot! I will use it :D