Subject: Re: "fixing" the network shutdown problems with rc.d
To: David Brownlee <email@example.com>
From: Simon Burge <firstname.lastname@example.org>
Date: 04/11/2000 23:52:26
David Brownlee wrote:
> It works well for NetBSD scripts, but what about people dropping
> in third party rc.d scripts?
> One not entirely clean option might be to set 'RC_SHUTDOWN' in
> the environment and run with a "stop" arg, and the scripts can
> key off that.
> No perfect solution :(
> I'm probably inclined to keep "shutdown" as its cleaner, but we
> need to be aware of the third part issue...
My first thought was maybe go back to the IGNORES idea I started
with, but third party scripts already need to be modified to handle
PROVIDES/REQUIRES, so adding shutdown handling may not be too bad. As
Robert Elz said, the set of scripts that actually require shutdown
processing is quite small (typically databases).