Mark Belanger wrote:
Maciej Zenczykowski wrote:
And are you creating the /var/lock/subsys/chnghst file when the subsystem starts up?
Is that required to make scripts run on shutdown?
Yes. I ran into this problem myself not too long ago. Your script must create a lockfile on startup if you want it to run during shutdown.