Results 1 to 2 of 2
Thread: update-rc.d problem
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2010
I have several scripts in /etc/rcS.d/ directory which are required to run on start up.
Now I have written a new script, and I want it to be run during the system start up itself (Not in any runlevel). So I have given the default start as,
# Default Start : S
But when I use the command :
"update-rc.d test_script.sh defaults".....it is creating symbolic links to
/etc/rc0.d /etc/rc1.d ..../etc/rc6.d.
But I actually need a symbolic link in the /etc/rcS.d/ directory.
Is there is any way to achieve this ( I tried manullay creating a link in /etc/rcS.d, but that is not running the script on system start up).
Thanks in advance,
What should your script do and why should it run with rcS.d?