Shutdown Scripts

Simper, Brian D plug-discuss@lists.plug.phoenix.az.us
Mon, 6 Jan 2003 16:09:49 -0700


I have a short script that I want to run on my Red Hat system at every =
shutdown or reboot.  I registered it with chkconfig and placed a symlink =
at=20

	/etc/rc.d/rc6.d/K01run --> ../init.d/run

It has never run.  The first line of the script writes the command line =
to a log file and it consistently runs at start (rc3.d/S95run) but I =
have never seen it operate at shutdown and write a "stop" command to the =
log file.  Does anyone know what trick can make this work?

Thanks,

Brian