Bug 57972 - UPS $OPTIONS variable missing in halt script
Summary: UPS $OPTIONS variable missing in halt script
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-03 21:19 UTC by CiRO
Modified: 2014-03-17 02:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-01-25 06:50:10 UTC
Embargoed:


Attachments (Terms of Use)

Description CiRO 2002-01-03 21:19:01 UTC
Description of Problem:
The $OPTIONS 
variable for UPS is missing in 
/etc/rc.d/init.d/halt script. You cannot 
pass options to the ups you've selected. 


This line:
[ "$SERVER" = "yes" -a "$MODEL" 
!= "NONE" -a -n "$MODEL" -a -n "$DEVICE" ] && 
$MODEL -k $DEVICE

should be:
[ "$SERVER" = 
"yes" -a "$MODEL" != "NONE" -a -n "$MODEL" -a -n 
"$DEVICE" ] && $MODEL $OPTIONS -k 
$DEVICE



Version-Release number of 
selected component (if 
applicable):


How 
Reproducible:


Steps to Reproduce:
1. 

2. 
3. 

Actual Results:


Expected 
Results:


Additional Information:

Comment 1 Florian La Roche 2002-07-09 21:28:10 UTC
Changed in internal cvs version, should be ok in next release.

Thanks,

Florian La Roche


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