Bug 57972

Summary: UPS $OPTIONS variable missing in halt script
Product: [Retired] Red Hat Linux Reporter: CiRO <ciro>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-25 06:50:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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