aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ippp
diff options
context:
space:
mode:
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'"