Bug 9638

Summary: typo in ifup-post from initscripts-4.95-1
Product: [Retired] Red Hat Raw Hide Reporter: Olivier Baudron <olivier.baudron>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-21 16:08:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Olivier Baudron 2000-02-21 12:07:13 UTC
Line 31 of /etc/sysconfig/network-scripts/ifup_post is:
if [ "$PEERDNS" !="no" -o "$RESOLV_MODS" != "no" ]; then
               ^^^^^
it should read:
if [ "$PEERDNS" != "no" -o "$RESOLV_MODS" != "no" ]; then

Otherwise, it outputs error: [: too many arguments

Comment 1 Bill Nottingham 2000-02-21 16:08:59 UTC
Fixed in cvs, will be in initscripts-4.96-1.