[Nut-upsuser] POWERDOWNFLAG (/etc/killpower) does not contain the

Pino Mauro pinomauro81 at yahoo.it
Wed Sep 13 16:29:43 UTC 2006


Well... I only must copy this segment in my halt script.
It's right?

>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

 		
---------------------------------
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060913/f7b234c4/attachment.htm


More information about the Nut-upsuser mailing list