aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-aliases
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-06-01 23:04:59 +0000
committerBill Nottingham <notting@redhat.com>2000-06-01 23:04:59 +0000
commit83d45f5afb9b85377c403a4ec6a4432e162acf0d (patch)
tree5c4c7d3eac99f92a536560c68933178b43f3860e /sysconfig/network-scripts/ifup-aliases
parent99bdb7d052b3db166f1f481a94796ed602972235 (diff)
downloadinitscripts-83d45f5afb9b85377c403a4ec6a4432e162acf0d.tar
initscripts-83d45f5afb9b85377c403a4ec6a4432e162acf0d.tar.gz
initscripts-83d45f5afb9b85377c403a4ec6a4432e162acf0d.tar.bz2
initscripts-83d45f5afb9b85377c403a4ec6a4432e162acf0d.tar.xz
initscripts-83d45f5afb9b85377c403a4ec6a4432e162acf0d.zip
don't add host routes for local interfaces
Diffstat (limited to 'sysconfig/network-scripts/ifup-aliases')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
1 files changed, 0 insertions, 2 deletions
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}