How program start

Derek Broughton news at pointerstop.ca
Mon Sep 10 15:08:46 UTC 2007


Nils Kassube wrote:

> Christopher Gray wrote:
>> 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.
> 
> Just create the link manually like this:
> 
> sudo ln -s /etc/myscript /etc/rc2.d/S99myscript

use "update-rc.d" to get the links made consistently
-- 
derek





More information about the ubuntu-users mailing list