3 # by Martin Mitchell <martin@debian.org>
4 # modifications by Gordon Morehouse <spambox@evernex.com> April 2001
8 if [ -f /usr
/local
/apcupsd
/powerfail
]; then
10 echo -n "apcupsd: Ordering UPS to kill power... "
11 /usr
/local
/apcupsd
/apccontrol killpower
14 echo "Please ensure the UPS has powered off before rebooting."
15 echo "Otherwise, the UPS may cut the power during the reboot!"