[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/rc?.d/*



On Mon, Jan 10, 2000 at 09:29:03PM +1100, Russell Coker wrote:
> Currently we start and stop the scripts in rc?.d directories in alphabetical
> order (IE the numerical order of whatever follows the 'K' or 'S' in the file
> name).
> 
> The update-rc.d wants to install packages with the same numbers for start and
> stop.
> 
> What I want to do is have a script start before the rest and stop after them.
> 
> What's the recommended way of doing so?

man update-rc.d

Basically you can do

update-rc.d <scriptname> defaults [<start-number> <end-number>]

More complex arrangements are possible too (different numbers for
different runlevels for example).


Hamish
-- 
Hamish Moffatt VK3SB. CCs of replies on mailing lists are welcome.


Reply to: