diff options
author | Bill Nottingham <notting@redhat.com> | 2004-10-18 19:09:54 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-10-18 19:09:54 +0000 |
commit | 780d44c7648d12838e92903e9c69c7259a6bdb88 (patch) | |
tree | 35f0ec18c6d5fae824c56effbb9e6678b85e83ab /sysconfig/network-scripts | |
parent | dc6b87a03533bca78a947fde815682fe45d4d6ca (diff) | |
download | initscripts-780d44c7648d12838e92903e9c69c7259a6bdb88.tar initscripts-780d44c7648d12838e92903e9c69c7259a6bdb88.tar.gz initscripts-780d44c7648d12838e92903e9c69c7259a6bdb88.tar.bz2 initscripts-780d44c7648d12838e92903e9c69c7259a6bdb88.tar.xz initscripts-780d44c7648d12838e92903e9c69c7259a6bdb88.zip |
fix typo
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 17d4cff7..106389b7 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -400,7 +400,7 @@ else if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${REALDEVICE}" ]; then # set up default gateway. replace if one already exists if [ -n "${GATEWAY}" -a "`ipcalc --network ${GATEWAY} ${NETMASK} 2>/dev/null`" = "NETWORK=${NETWORK}" ]; then - ip route replace default via ${GATEWAY} ${WINDOW:+window $WINDOW} ${SRC} ${GATEWAYDEV:dev $GATEWAYDEV} + ip route replace default via ${GATEWAY} ${WINDOW:+window $WINDOW} ${SRC} ${GATEWAYDEV:+dev $GATEWAYDEV} elif [ "${GATEWAYDEV}" = "${DEVICE}" ]; then ip route replace default ${SRC} ${WINDOW:+window $WINDOW} dev ${REALDEVICE} fi |