OESF Portables Forum

General Forums => General Discussion => Topic started by: daniel3000 on July 18, 2005, 04:18:08 am

Title: Startup Files ("boot.local" / "autoexec.bat")
Post by: daniel3000 on July 18, 2005, 04:18:08 am
Hello,

where can I put commands that should be executed on each reboot of the SL-C3000 with Cacko ROM?
On my Linux PC I used to put these commands into /etc/boot.local
but I cannot find such a file on the Zaurus.

Thanks

daniel
Title: Startup Files ("boot.local" / "autoexec.bat")
Post by: lardman on July 18, 2005, 07:16:47 am
Place a script in:

/etc/rcX.d/ where X is the runlevel you want it to run at.


Si
Title: Startup Files ("boot.local" / "autoexec.bat")
Post by: daniel3000 on July 18, 2005, 10:38:55 am
Quote
Place a script in:

/etc/rcX.d/ where X is the runlevel you want it to run at.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88684\"][{POST_SNAPBACK}][/a][/div]

Thanks!
I solved the issue slightly differently:

I took the script /etc/rc.d/rc.local (which seems not to be used at all in the Cacko 1.23beta1 ROM setup) and linked it into all the rcX.d subdirectories as "S99rclocal", so I now have a central place to put commands into for system reboot, regardless of the runlevel to be entered.

daniel
Title: Startup Files ("boot.local" / "autoexec.bat")
Post by: bam on July 27, 2005, 03:07:47 am
explain step for step, and why, please, I am a n00b.

Thanks
Bam
Title: Startup Files ("boot.local" / "autoexec.bat")
Post by: lardman on July 27, 2005, 06:48:46 am
Start somewhere like here:

http://www.comptechdoc.org/os/linux/startu...nux_suinit.html (http://www.comptechdoc.org/os/linux/startupman/linux_suinit.html)


Si
Title: Startup Files ("boot.local" / "autoexec.bat")
Post by: bam on July 27, 2005, 03:59:39 pm
thanks