Hi,

On Sat, 06 Aug 2011, Petter Reinholdtsen wrote:
> [Raphaël Hertzog]
> > I'm not quite sure what the correct way is though. The suggestion
> > above concerns usual services and not initscripts used in runlevel 0
> > and 6.  I'm CCing Petter Reinholdtsen to have his advice.
> > 
> > It's possible that doing the opposite is the correct thing to do,
> > i.e.  rename the symlinks form K* to S* but I'm not sure.
> 
> At least one start or stop symlink need to remain for update-rc.d to
> not reinsert all symlinks on the next upload.  For unlevels 0 and 6,
> both S* and K* are executed with 'stop' as the argument, so renaming
> is not going to work.  The only solution I can think of would be to
> leave a start or stop symlink behind in one of the other runlevels.

For a script like "umountroot", we don't want a stop symlink in
the other runlevels...

But a start script in runlevel 2 seems doable since it's a no-op.
But I wonder whether it can have consequences on the ordering of the rest
of the system.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to