aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-eth
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-07-29 15:17:48 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-07-29 15:17:48 +0200
commit0721d2cefd672da45402d6d558384e52a4ed8376 (patch)
tree76c566a47defae0af6e7de2dbfb3315c2b729e73 /sysconfig/network-scripts/ifup-eth
parent305a90a410b6b975431c441c2bbcbc23ff68d7ac (diff)
downloadinitscripts-0721d2cefd672da45402d6d558384e52a4ed8376.tar
initscripts-0721d2cefd672da45402d6d558384e52a4ed8376.tar.gz
initscripts-0721d2cefd672da45402d6d558384e52a4ed8376.tar.bz2
initscripts-0721d2cefd672da45402d6d558384e52a4ed8376.tar.xz
initscripts-0721d2cefd672da45402d6d558384e52a4ed8376.zip
consider IPV6INIT undefined as YES
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-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 910ac9b8..c8287d64 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -178,7 +178,7 @@ if [ -n "${DYNCONFIG}" ] && [ -x /sbin/dhclient ]; then
if [[ "${IPV4_FAILURE_FATAL}" = [Yy1]* ]] ; then
exit 1
fi
- if [[ "$IPV6INIT" != [yY1]* && "$DHCPV6C" != [yY1]* ]] ; then
+ if [[ "$IPV6INIT" = [nN0]* || "$DHCPV6C" != [yY1]* ]] ; then
exit 1
fi
net_log "Unable to obtain IPv4 DHCP address ${DEVICE}." warning