diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-07-29 15:17:48 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2013-08-19 14:11:00 +0200 |
commit | 28836ffca41162cdcabf518a280c31b641a0fab2 (patch) | |
tree | d7ce50a9a7e4fb6c1c1057e84cd2720b3fb7df73 /sysconfig/network-scripts/ifup-ippp | |
parent | 975c5407b0125b27c6fe61520d1d348569f10b50 (diff) | |
download | initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.tar initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.tar.gz initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.tar.bz2 initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.tar.xz initscripts-28836ffca41162cdcabf518a280c31b641a0fab2.zip |
consider IPV6INIT undefined as YES
Diffstat (limited to 'sysconfig/network-scripts/ifup-ippp')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ippp | 4 |
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'" |