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-08-19 14:11:00 +0200
commit28836ffca41162cdcabf518a280c31b641a0fab2 (patch)
treed7ce50a9a7e4fb6c1c1057e84cd2720b3fb7df73 /sysconfig/network-scripts/ifup-eth
parent975c5407b0125b27c6fe61520d1d348569f10b50 (diff)
downloadinitscripts-28836ffca41162cdcabf518a280c31b641a0fab2.tar
initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.tar.gz
initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.tar.bz2
initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.tar.xz
initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.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