Bug 59419

Summary: /etc/init.d/network script error
Product: [Retired] Red Hat Linux Reporter: javor
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: 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-02-19 12:55:00 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 javor 2002-02-07 15:47:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)

Description of problem:
wrong condition in /etc/init.d/network

was: if [ "${bogus}" = "gw" ];
should be: if [ "${bogus}" != "gw" ];

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


How reproducible:
Always

Steps to Reproduce:
1.add this to /etc/sysconfig/static-routes: any net 172.16.1.0 netmask 
255.255.255.0 gw "unassigned_IP_address_in_your_nework"
2. /etc/init.d/network restart
3.route -n ...
	

Additional info:

Comment 1 javor 2002-02-19 12:54:55 UTC
I'm very sorry about confusing - version of Redhat was 7.0 not 7.2

Comment 2 Bill Nottingham 2002-02-25 17:49:57 UTC
This was fixed at least by 7.2.