Displaying 1 result from an estimated 1 matches for "hatstartstop".
2005 Aug 10
1
/var/state not accessible
...ogger -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
-------------
CMDSCRIPT /etc/ups/upssched-cmd
PIPEFN /var/state/ups/upssched.pipe
LOCKFN /var/state/ups/upssched.lock
AT ONBATT hat_PC_ups@localhost...