LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   rc3.d script execution (https://www.linuxquestions.org/questions/suse-opensuse-60/rc3-d-script-execution-886498/)

EschewPanache 06-15-2011 09:13 AM

rc3.d script execution
 
I would like to execute a script at the end of run level 3 transition. I have created the script in init.d and put a symbolic link to it named S99myscript into rc3.d with 755 as the mask. The script is not being executed. I suspect my ln -s ../myscript S99myscript is not persisting after the level change. I am not sure, however. Can anyone please tell me what I am doing wrong?
Thanks in advance!
Carl.

SL00b 06-15-2011 11:07 AM

You shouldn't be creating symbolic links manually, because that can cause issues, which can be resolved by using the utilities provided.

Take your pick:
- chkconfig
- yast runlevel

EschewPanache 06-15-2011 02:31 PM

issue resolved
 
Thanks so much for your reply. I ended up finding something named insserv that did the trick.


All times are GMT -5. The time now is 04:05 AM.