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

Re: dependency based boot + update-rc.d



On 06/02/2010 12:28 PM, Hugo Vanwoerkom wrote:
Hi,

Before dependency based boot I added my own boot scripts with update-rc.d, like:

update-rc.d faketty start 29 2 3 4 5 .

and the update-rc.d man page still refers to sequence numbers (NN=29):

"NN is the two-digit sequence number that determines where in the sequence init will run the scripts."

But with dependency based boot those sequence numbers went out the window.

What does one do now, run update-rc.d as before and then 'dpkg-reconfigure sysv-rc'?

Hugo



I am not sure how dependency based booting changes things, but the manpage of update-rc.d recommends using another tool such as sysv-rc-conf.

" Please note that this program was designed for use in package main‐
tainer scripts and, accordingly, has only the very limited functional‐
ity required by such scripts. System administrators are not encouraged
to use update-rc.d to manage runlevels. They should edit the links
directly or use runlevel editors such as sysv-rc-conf and bum instead."

I would try one of the alternatives.


Reply to: