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

Re: update-rc.d sequence number for hpoj (HP OfficeJet Linux driver)



On Fri, Oct 19, 2001 at 04:56:51PM +0200, Peter Mathiasson wrote:
> On Thu, Oct 18, 2001 at 10:42:43PM +1000, msp@debian.org wrote:
> > In Bug#115984 it was brought to my attention that I should be starting 
> > hpoj prior to cups starting. As if you want to both, hpoj must be
> > started first to setup the lower level abstraction prior to cups
> > starting.
> > 
> > Cups starts at the default init.d sequence of 20.
> 
> Is there any reason why you can't run cups on a higher lever (21?)

Good project here for a brave coder:

Allow start-up scripts to only specify their dependencies (they can
declare packages that must be init'ed before them). At start-up time,
work up the graph from the bottom, guaranteeing only to start things
after their dependencies are already running.

This has two major advantages:

a) You can always add another package 'between' two existing ones.
b) It exploits as much parallelism as possible.

It's not even that hard to code ;-)

Jules

PS I think MacOS X does it this way, as it happens



Reply to: