aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ippp
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-ippp
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-ippp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index 3ba93328..8405c8d9 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
#
# ifup-ippp
#
@@ -368,7 +368,7 @@ function addprovider()
fi
# Setup IPv6
- if [ "$IPV6INIT" = "yes" -a ! -z "$IPV6ADDR" ]; then
+ if [[ "$IPV6INIT" != [nN0]* && ! -z "$IPV6ADDR" ]]; then
# Native IPv6 use of device configured, check of encapsulation required
if [ "$ENCAP" = "syncppp" ]; then
echo $"Warning: ipppd (kernel 2.4.x and below) doesn't support IPv6 using encapsulation 'syncppp'"