aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup2
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
2 files changed, 0 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 12d7d520..b9e9357c 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -117,8 +117,6 @@ else
# stupid hack, but it should work
if [ "$ISALIAS" = no ] && [ -z "`route -n | sed "s/ .*//" | grep ${NETWORK}`" ]; then
route add -net ${NETWORK} netmask ${NETMASK} dev ${DEVICE}
- elif [ "$ISALIAS" != no ]; then
- route add -host ${IPADDR} ${DEVICE}
fi
# this is broken! it's only here for compatibility with old RH systems
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 239c9775..88cb3c34 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -254,8 +254,6 @@ function new_interface ()
if [ "$NO_ALIASROUTING" != yes ]; then
- route add -host ${IPADDR} ${DEVICE}
-
# this is broken! it's only here for compatibility with old RH systems
if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" ]; then
route add default gw ${GATEWAY} metric 1 ${DEVICE}