Re: invoke-rc.d and rcS scripts
On Mon, Sep 30, 2002 at 11:50:22AM -0400, Joey Hess wrote:
> It seems that if I ask invoke-rc.d to start or stop or restart a script
> that is only linked in the rcS directory, it always runs the script. I
> wonder if this is correct behavior?
Hell,
It is semi-documented:
|----invoke-rc.d(8)--------------------
| invoke-rc.d itself will only pay attention to the current
| runlevel, and block any tries to start an init script in a
| runlevel it is not configured to be started at.
This is unclear, "not configured to be started at" has to be
read as "has been configured to be stopped".
That is: unless the script has a stop link in the current runlevel it
will be started.
> For one thing, this leads to #162801 ...
rc.S-scripts should probably not be installed with dh_installinit as
they don't often understand <start> and <stop>, if they did you
probably could use it but had to add S-entries for 0-6.
cu andreas
Reply to: