diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-30 21:30:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-30 21:30:59 +0000 |
commit | 1c244e7f6723d46d5ddd01bfd14bae1a5b933370 (patch) | |
tree | 35f8b59bc1dedba8dc33d6ea2cf3ef7290c5fa0f /sysconfig | |
parent | 178a30869d447ebc8a4d9e243813f5429dc9a950 (diff) | |
download | initscripts-1c244e7f6723d46d5ddd01bfd14bae1a5b933370.tar initscripts-1c244e7f6723d46d5ddd01bfd14bae1a5b933370.tar.gz initscripts-1c244e7f6723d46d5ddd01bfd14bae1a5b933370.tar.bz2 initscripts-1c244e7f6723d46d5ddd01bfd14bae1a5b933370.tar.xz initscripts-1c244e7f6723d46d5ddd01bfd14bae1a5b933370.zip |
fix gateway thinko
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 6c7aa33d..e64ba822 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -153,7 +153,7 @@ else if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then # set up default gateway - if [ "${GATEWAY}" != "" -a "`ipcalc --network ${GATEWAY} ${NETMASK}`" = "${NETWORK}" ]; then + if [ "${GATEWAY}" != "" -a "`ipcalc --network ${GATEWAY} ${NETMASK}`" = "NETWORK=${NETWORK}" ]; then route add default gw ${GATEWAY} ${DEVICE} DEFGW=${GATEWAY} elif [ "${GATEWAYDEV}" = "${DEVICE}" ]; then |