aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-01-14 03:20:12 +0000
committerBill Nottingham <notting@redhat.com>2003-01-14 03:20:12 +0000
commite5c4c0219d8ad8ffa1c8e883891522bb1bab18f8 (patch)
treecf4bd378d6995353b97617b1f762955aec1e04ca
parentf6ba643145c69dc4b9d6233825276b94fc81597a (diff)
downloadinitscripts-e5c4c0219d8ad8ffa1c8e883891522bb1bab18f8.tar
initscripts-e5c4c0219d8ad8ffa1c8e883891522bb1bab18f8.tar.gz
initscripts-e5c4c0219d8ad8ffa1c8e883891522bb1bab18f8.tar.bz2
initscripts-e5c4c0219d8ad8ffa1c8e883891522bb1bab18f8.tar.xz
initscripts-e5c4c0219d8ad8ffa1c8e883891522bb1bab18f8.zip
add zeroconf route (#81738)
-rwxr-xr-xsysconfig/network-scripts/ifup6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 6560bbc0..367d6ba4 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -272,6 +272,12 @@ else
ip route replace default ${SRC} dev ${REALDEVICE}
fi
fi
+
+fi
+
+# Add Zeroconf route.
+if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then
+ ip route replace 169.254.0.0/16 dev eth0
fi
# IPv6 initialisation?