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 [EMAIL PROTECTED] 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
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to