3 # /etc/init.d/shutdown (and symlinked to reboot)
6 # This umount is wrong here, but one tester reported data loss without it.
7 # If your partition gets destroyed, try to uncomment the umount.
9 echo "Unmounting file systems"
12 #Powerfail situation, kill power
13 if [ -f /etc
/powerfail
]; then
14 echo "APCUPSD to the Rescue!"
16 /sbin
/apccontrol killpower
21 exec halt
>/dev
/console
2>&1