diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-07-29 15:17:48 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2013-07-29 15:17:48 +0200 |
commit | 0721d2cefd672da45402d6d558384e52a4ed8376 (patch) | |
tree | 76c566a47defae0af6e7de2dbfb3315c2b729e73 /ppp | |
parent | 305a90a410b6b975431c441c2bbcbc23ff68d7ac (diff) | |
download | initscripts-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 'ppp')
-rw-r--r-- | ppp/ipv6-up | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ppp/ipv6-up b/ppp/ipv6-up index 54219e43..059afec6 100644 --- a/ppp/ipv6-up +++ b/ppp/ipv6-up @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # ipv6-up # @@ -50,8 +50,8 @@ CONFIG=$LOGDEVICE [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG source_config -# 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 |