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:05:23 -0400
commitd8efac9e6a38a75573d904400c0c13105cbf5f78 (patch)
treed9af05d53a240a4b20eedd712986ade2529287d7
parenta0690c3a4d2402ea8d54d0cd5a5b15574e3511d4 (diff)
downloadinitscripts-d8efac9e6a38a75573d904400c0c13105cbf5f78.tar
initscripts-d8efac9e6a38a75573d904400c0c13105cbf5f78.tar.gz
initscripts-d8efac9e6a38a75573d904400c0c13105cbf5f78.tar.bz2
initscripts-d8efac9e6a38a75573d904400c0c13105cbf5f78.tar.xz
initscripts-d8efac9e6a38a75573d904400c0c13105cbf5f78.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 22bc2f6c..01813d6e 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -220,10 +220,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
@@ -287,6 +284,7 @@ else
${SRC} ${WINDOW:+window $WINDOW} dev ${REALDEVICE}
fi
fi
+ fi
fi
# Add Zeroconf route.