Random shutdowns

Nicholas Leippe nick at byu.edu
Wed Mar 30 09:18:08 MST 2005

On Tuesday 29 March 2005 10:50 pm, Kenneth Burgener wrote:
> Corey Edwards wrote:
> *Here is a thought*.  Is there a way to capture a shutdown and turn it
> into a reboot instead?

Here's one way:

mv /sbin/shutdown /sbin/shutdown.orig

cat > /sbin/shutdown
<test and modify args>
/sbin/shutdown.orig <new args>

The more correct way is probably to modify your inittab


Nicholas Leippe
Sales Team Automation, LLC
1335 West 1650 North, Suite C
Springville, UT  84663 +1 801.853.4090

More information about the PLUG mailing list