initscript "feature" questions

Bill Nottingham notting at redhat.com
Fri Oct 26 18:34:14 UTC 2007


Jon Masters (jcm at 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




More information about the fedora-devel-list mailing list