From 0721d2cefd672da45402d6d558384e52a4ed8376 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Mon, 29 Jul 2013 15:17:48 +0200 Subject: consider IPV6INIT undefined as YES --- sysconfig/network-scripts/ifup-eth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-eth') 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 -- cgit v1.2.1