aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-13 16:01:08 +0000
committerBill Nottingham <notting@redhat.com>2001-03-13 16:01:08 +0000
commitb91419a9a27c9d04465fa1578e531d492a109e97 (patch)
treec8c0fae4482a42cd2dbdc32974898971c2d91191 /sysconfig/network-scripts
parent6116092e69c274246c6845ecaa6d7f87deb87f00 (diff)
downloadinitscripts-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-xsysconfig/network-scripts/ifup2
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