Lord Vader;141575 Wrote: > Hi Alexandros, > > as a newbie, how do I create a script? Do I use "vi"?
Hi, Yes vi is an option. Step by step: 1) cd to the directory (as root): "cd /opt/etc/init.d" 2) "vi S99slimserver" 3) Type "i" for instert mode and start typing the script. 4) Type ":wq" to save and exit 5) "chmod +x S99slimserver" to make it executable Another option would be to copy an existing script, rename it and edit it. You could try Midnight Commander (ipkg install mc). It makes things easier. -- abagos Alexandros Bagos ------------------------------------------------------------------------ abagos's Profile: http://forums.slimdevices.com/member.php?userid=2285 View this thread: http://forums.slimdevices.com/showthread.php?t=28038 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
