Bug 47060 - shutdown command incorrect in nut config file
Summary: shutdown command incorrect in nut config file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: nut
Version: 7.1
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-02 20:49 UTC by wendell
Modified: 2007-03-27 03:46 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-07-02 20:49:11 UTC
Embargoed:


Attachments (Terms of Use)

Description wendell 2001-07-02 20:49:08 UTC
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"


How Reproducible:
very

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
from ups
	
Actual Results:
system prints
   Beginning shutdown
but nothing happens

Expected Results:
system shutdowns properly

Additional Information:
The original nut distribution may be incorrect.

Comment 1 Ngo Than 2001-07-02 20:58:47 UTC
It's fixed in nut-0.45.0-1. You find it in the rawhide.


Note You need to log in before you can comment on or make changes to this bug.