[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: initscript "feature" questions



Jon Masters (jcm redhat com) said: 
> > We only shut things down that have been started successfully (have a lock file.)
> 
> Right. But what if I want to run something on shutdown that's unrelated
> to a daemon? And I want to do this from a package, so without manually
> modifying the local rc config?

Create a SXX service that runs in runlevel 0/6, or add a /sbin/halt.local.

Bill


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]