I've create a script and associated links(via chkconfig). The script runs in the expected runlevels at boot time, but does not run at all during shutdown(halt, reboot, etc). I swear I've done this a million times. What am I overlooking?
# cat /etc/issue CentOS release 3.5 (Final) Kernel \r on an \m
# chkconfig --list chnghst chnghst 0:off 1:on 2:off 3:off 4:off 5:off 6:off
localhost:# find /etc/rc* |grep chngh /etc/rc.d/init.d/chnghst /etc/rc.d/rc0.d/K07chnghst /etc/rc.d/rc1.d/S10chnghst /etc/rc.d/rc2.d/K87chnghst /etc/rc.d/rc3.d/K07chnghst /etc/rc.d/rc4.d/K07chnghst /etc/rc.d/rc5.d/K07chnghst /etc/rc.d/rc6.d/K07chnghst
# uname -a Linux localhost 2.4.21-32.ELsmp #1 SMP Wed May 18 17:49:28 EDT 2005 i686 i686 i386 GNU/Linux
tia,
-mark