Bug 59419 - /etc/init.d/network script error
Summary: /etc/init.d/network script error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.0
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-02-07 15:47 UTC by javor
Modified: 2014-03-17 02:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-19 12:55:00 UTC
Embargoed:


Attachments (Terms of Use)

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.


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