I wrote:
> Your script should check [$PREVLEVEL].  It will be N if you are booting.

Nicolas writes:
> That's a nice idea, but do you know how fine it would behave with things
> like file-rc?

It should work fine.  Note that this method _only_ controls script
execution at boot time.  If you also want to prevent the service from being
started on a runlevel change you have to do something else such as checking
$0.
-- 
John Hasler


Reply via email to