Results 1 to 4 of 4
there is no /etc/rc.d/rc.local file, while redhat linux has this file /etc/rc.d/rc.local which will auto-run the scripts.
So how does SuSE 10.2 auto-run a script when system is booting up?
...
- 02-23-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 26
where can I leave my scripts that they can run when system boots up
there is no /etc/rc.d/rc.local file, while redhat linux has this file /etc/rc.d/rc.local which will auto-run the scripts.
So how does SuSE 10.2 auto-run a script when system is booting up?
Thanks.
- 02-23-2007 #2
Put them in /etc/init.d/boot.local.
- 02-23-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 26
It works, thanks.
I tried to put the script in /etc/init.d/rc3.d, which is for level 3, multi-users mode, named S99xxx, it is supposed to run, but it didn't, what could be wrong?
- 02-23-2007 #4
You can't just put scripts in the rcX.d directories and expect them to run. The rcX.d directories should just contain symlinks whilst the script itself has to be in /etc/init.d. The script also has to have options that enable the service to be managed e.g. start, stop, restart etc.


Reply With Quote