diff options
author | Bill Nottingham <notting@redhat.com> | 2001-03-13 16:01:08 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-03-13 16:01:08 +0000 |
commit | b91419a9a27c9d04465fa1578e531d492a109e97 (patch) | |
tree | c8c0fae4482a42cd2dbdc32974898971c2d91191 /sysconfig/network-scripts | |
parent | 6116092e69c274246c6845ecaa6d7f87deb87f00 (diff) | |
download | initscripts-b91419a9a27c9d04465fa1578e531d492a109e97.tar initscripts-b91419a9a27c9d04465fa1578e531d492a109e97.tar.gz initscripts-b91419a9a27c9d04465fa1578e531d492a109e97.tar.bz2 initscripts-b91419a9a27c9d04465fa1578e531d492a109e97.tar.xz initscripts-b91419a9a27c9d04465fa1578e531d492a109e97.zip |
fix typo (#31627)
Diffstat (limited to 'sysconfig/network-scripts')
-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 a3834af7..45a341c4 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -166,7 +166,7 @@ else if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then # set up default gateway - if [ -n "${GATEWAY}" -a "`ipcalc --network ${GATEWAY} ${NETMASK}` 2>/dev/null" = "NETWORK=${NETWORK}" ]; then + if [ -n "${GATEWAY}" -a "`ipcalc --network ${GATEWAY} ${NETMASK} 2>/dev/null`" = "NETWORK=${NETWORK}" ]; then route add default gw ${GATEWAY} ${DEVICE} DEFGW=${GATEWAY} elif [ "${GATEWAYDEV}" = "${DEVICE}" ]; then |