UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / platforms / sun / rc0.solaris.in
blob235ef44cad12c7857377cdb4263961d6185d2a8a
1 #see if this is a powerfail situation
2 if [ -f @PWRFAILDIR@/powerfail ]; then
3         echo 
4         echo "APCUPSD will power off the UPS"
5         echo
6         @sysconfdir@/apccontrol killpower
7         echo
8         echo "Please ensure that the UPS has powered off before rebooting"
9         echo "Otherwise, the UPS may cut the power during the reboot!!!"
10         echo
11         exit 0