How program start

Christopher Gray chris at bayareadigital.us
Mon Sep 10 06:01:54 UTC 2007


Hello:

I'd like to ask what is a good document from which to learn about how software 
is started on Ubuntu.

Here are the kinds of things I'm wondering and would like to read more to 
understand.

I have been told that placing a line in rcS like

      exec filename.sh

will cause that shell script to be executed.  This seems to work.

However, I have created such scripts in /etc/init.d and then found them linked 
into a different directory in a filename that contains a number that seems to 
suggest the order in which that file would execute.  However, I have never 
executed a link command or assigned a number in some other way.  How did this 
link get created?  There seems to be some sort of automated trigger I don't 
understand.

If I've got such a numbered file in the link directory, how do I change that 
number in case I wish this program executed earlier or later in the execution 
sequence?

Any pointers to doc or specific information will be appreciated.  The more basic 
the better <smile>.

Thanks.

Chris



----------------------------------------
Christopher Gray, President
Bay Area Digital

Promoting good health with great technology

Bay Area Digital
870 Market Street, #653
San francisco, CA 94102
Phone:  (415) 217-6667
fax:    (415) 217-6667
Email:  chris at bayareadigital.us




More information about the ubuntu-users mailing list