1 #see if this is a powerfail situation
2 if [ -f @PWRFAILDIR@/powerfail ]; then
4 echo "APCUPSD will power off the UPS"
6 @sysconfdir@/apccontrol killpower
8 echo "Please ensure that the UPS has powered off before rebooting"
9 echo "Otherwise, the UPS may cut the power during the reboot!!!"