aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ipv6
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-ipv6
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-ipv6')
-rwxr-xr-xsysconfig/network-scripts/ifup-ipv64
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-ipv6 b/sysconfig/network-scripts/ifup-ipv6
index 3309f0a4..31b3b64c 100755
--- a/sysconfig/network-scripts/ifup-ipv6
+++ b/sysconfig/network-scripts/ifup-ipv6
@@ -65,8 +65,8 @@ source_config
REALDEVICE=${DEVICE%%:*}
DEVICE=$REALDEVICE
-# Test whether IPv6 configuration is enabled for this interface, else stop
-[ "$IPV6INIT" = "yes" ] || exit 0
+# Test whether IPv6 configuration is disabled for this interface
+[[ "$IPV6INIT" = [nN0]* ]] && exit 0
[ -f /etc/sysconfig/network-scripts/network-functions-ipv6 ] || exit 1
. /etc/sysconfig/network-scripts/network-functions-ipv6