[Nut-upsuser] POWERDOWNFLAG (/etc/killpower) does not contain the
upsmon magic string!!!
Pino Mauro
pinomauro81 at yahoo.it
Wed Sep 13 15:17:49 UTC 2006
Hi to all, i install nut and it's work perfectly but when i start upsmon i recive the message:
POWERDOWNFLAG (/etc/killpower) does not contain the upsmon magic string
My upmon.conf contain:
MONITOR myups at theseo 1 orion91 carlos81 master
SHUTDOWNCMD "/sbin/shutdown -h +0"
HOSTSYNC 15
POWERDOWNFLAG /etc/killpower
FINALDELAY 5
My killpower scrit in /etc/killpower contain:
#!/bin/bash
if (test -f /etc/killpower)
then
echo "Killing the power, bye!"
/sbin/upsdrvctl shutdown
sleep 120
# uh oh... the UPS poweroff failed!
# you probably should reboot here to avoid getting stuck
# *** see the section on power races below ***
fi
Where is the problem! What's the upsmon magic string?
Help me please!
---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060913/e5acd922/attachment.html
More information about the Nut-upsuser
mailing list