Red Hat Bugzilla – Bug 47060
shutdown command incorrect in nut config file
Last modified: 2007-03-26 23:46:37 EDT
Description of Problem:
The latest nut distribution requires " around the shutdown
command, but the config file is incorrect
(does not have "). That is, in /etc/ups/upsmon.conf, the nut
distribution has the *incorrect* shutdown command of
SHUTDOWNCMD /sbin/shutdown -h +0
however, the command should be
SHUTDOWNCMD "/sbin/shutdown -h +0"
Steps to Reproduce
1.install nut (ups) package
2.have system on ups
3.remove wall power
4.System will eventually receive "battery level critical" notice
but nothing happens
system shutdowns properly
The original nut distribution may be incorrect.
It's fixed in nut-0.45.0-1. You find it in the rawhide.