Re: update-rc.d sequence number for hpoj (HP OfficeJet Linux driver)
On Fri, Oct 19, 2001 at 04:06:31PM +0100, Jules Bean wrote:
> 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.
Doesn't it go the contrary here ?
IIUC, hpoj Depends: on cups but hpoj wants to be started _before_ cups.
Or am I wrong ?
>
> 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
>
>
> --
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
>
--
Eric VAN BUGGENHAUT "Oh My God! They killed init! You Bastards!"
--from a /. post
\_|_/ Andago
\/ \/ Av. Santa Engracia, 54
a n d a g o |-- E-28010 Madrid - tfno:+34(91)2041100
/\___/\ http://www.andago.com
/ | \ "Innovando en Internet"
eric@andago.com
Reply to: