aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-03-20 12:02:14 -0400
committerBill Nottingham <notting@redhat.com>2009-03-20 12:02:14 -0400
commiteb389d68f4637418983e4b514a67eb84cf2f4d7b (patch)
treed3e2fd541d4bd6b123f5df12c5553780325d7321
parent502b5569efec0a10c9eb04ad4e59b96ca6d03caf (diff)
downloadinitscripts-eb389d68f4637418983e4b514a67eb84cf2f4d7b.tar
initscripts-eb389d68f4637418983e4b514a67eb84cf2f4d7b.tar.gz
initscripts-eb389d68f4637418983e4b514a67eb84cf2f4d7b.tar.bz2
initscripts-eb389d68f4637418983e4b514a67eb84cf2f4d7b.tar.xz
initscripts-eb389d68f4637418983e4b514a67eb84cf2f4d7b.zip
Don't exit out on IPv4 address-free interfaces; just follow the normal exit path. (#486507)
For example, this allows DHCPv6 to run.
-rwxr-xr-xsysconfig/network-scripts/ifup-eth6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 989f73ea..56e04888 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -228,10 +228,7 @@ else
/sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS
fi
[ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY}
-
- /etc/sysconfig/network-scripts/ifup-ipv6 ${CONFIG}
- exec /etc/sysconfig/network-scripts/ifup-post ${CONFIG} ${2}
- fi
+ else
expand_config
@@ -295,6 +292,7 @@ else
${SRC} ${WINDOW:+window $WINDOW} dev ${REALDEVICE}
fi
fi
+ fi
fi
# Add Zeroconf route.