LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Questions about startup scripts (https://www.linuxquestions.org/questions/linux-newbie-8/questions-about-startup-scripts-946408/)

vp0619520 05-23-2012 12:54 AM

Questions about startup scripts
 
Hi team,


As I know these scripts with the path "/etc/rc*.d/S*" control which service will be start when system boot up.I just want to know which program or script calls them? I am using Ubuntu.
Thanks a lot.

divyashree 05-23-2012 01:21 AM

init , the process with pid 1 call all the scripts that are started with S in /etc/rc*.d/ dir.

You can check in
Quote:

ps -ef
the parent process id.

vp0619520 05-23-2012 02:35 AM

Quote:

Originally Posted by divyashree (Post 4685378)
init , the process with pid 1 call all the scripts that are started with S in /etc/rc*.d/ dir.

You can check in the parent process id.

Thanks for the rapidly reply!I just download the source code.:)


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