Displaying 1 result from an estimated 1 matches for "ups_driv".
Did you mean:
ups_driver
2009 May 25
0
FreeBSD installation procedure (updated)
...n):
# uncomment for rc.shutdown script
#
# nut_prefix=${nut_prefix-"/usr/local"}
if [ -r /etc/killpower ]; then
rm -f /etc/killpower
echo "Killing the power, bye!"
${nut_prefix}/libexec/nut/upsdrvctl -v shutdown
if [ $? -ne 0 ]; then
${nut_prefix}/libexec/nut/UPS_DRIVER -k -D -a UPS_NAME
fi
# increase this timeout (to, say, 120 sec) if your configuration is
vulnerable to a power race
# *** see the section on power races below ***
sleep 5
# uh oh... the UPS poweroff failed!
# you probably should reboot here to avoid getting stuck
# *** see the sec...