aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-09-04 08:59:55 -0400
committerBill Nottingham <notting@redhat.com>2008-09-04 08:59:55 -0400
commit641149c88429ad66fe233a02fc48d5eb13a4c4b5 (patch)
tree7a6802f4dcd5b78ddd82b6892640f490e8a2f527 /sysconfig
parentb4a2679dfeee219db109dd1259e3519263ed4773 (diff)
downloadinitscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.tar
initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.tar.gz
initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.tar.bz2
initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.tar.xz
initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.zip
Change how we set the zeroconf route. (#239609)
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index fa430f7f..ee8a42d4 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -293,7 +293,7 @@ fi
# Add Zeroconf route.
if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" -a "${REALDEVICE}" != "lo" ]; then
- ip route replace 169.254.0.0/16 dev ${REALDEVICE}
+ ip route add 169.254.0.0/16 dev ${REALDEVICE} metric $((1000 + $(cat /sys/class/net/${REALDEVICE}/ifindex)) scope link
fi
# IPv6 initialisation?