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

Re: /etc/rc?.d/*



*- On 10 Jan, Russell Coker wrote about "/etc/rc?.d/*"
> 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?
> 

rtfm, =)

update-rc.d foobar start 05 2 3 4 5 . stop 99 0 1 6 .

Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Reply to: