Displaying 1 result from an estimated 1 matches for "onbattwarn_hat_hat_ups".
2005 Aug 10
1
/var/state not accessible
...LOG+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
upscsched-cmd
--------------
case $1 in
"onbattwarn_hat_PC_ups")
logger -t upssched-cmd "PC UPS timeout expired, shutdown"
/usr/sbin/upsmon -c fsd
;;
"onbattwarn_hat_HAT_ups")
logger -t upssched-cmd "HAT UPS timeout expired, closing power plant";
/etc/rc.d/init.d/HATstartstop stop
;;
*)
logger -t upssched-cmd "Unrecognized command: $1"
;;
esac
upssched.conf...