[CentOS] Shutdown script not being run

Mon Dec 19 18:27:29 UTC 2005
Barry Brimer <barry.brimer at bigfoot.com>

Quoting Bowie Bailey <Bowie_Bailey at BUC.com>:

> I've got an odd problem.  My server will not shutdown normally because
> the AoE driver is not being shut down properly.  While investigating the
> problem, I found that the aoe script is apparently not being called for
> shutdown.  I have been able to duplicate this with a brand new test
> script.

IIRC, you need to have your init script place a lock file named the service name
in /var/lock/subsys for the stop to execute.

HTH,
Barry