diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2016-10-11 17:13:32 +0200 |
---|---|---|
committer | Lukáš Nykrýn <lnykryn@redhat.com> | 2016-10-12 22:00:19 +0200 |
commit | 92520debcad27eca08507fe47486ae7ee9df484b (patch) | |
tree | a1b3d582c262b6dca7e3b28ae6b4191e159980c2 /sysconfig/network-scripts/ifup-ippp | |
parent | c43cefb7afbb096ca572b07bf03760e7eab74804 (diff) | |
download | initscripts-92520debcad27eca08507fe47486ae7ee9df484b.tar initscripts-92520debcad27eca08507fe47486ae7ee9df484b.tar.gz initscripts-92520debcad27eca08507fe47486ae7ee9df484b.tar.bz2 initscripts-92520debcad27eca08507fe47486ae7ee9df484b.tar.xz initscripts-92520debcad27eca08507fe47486ae7ee9df484b.zip |
Use the is_true() and is_false() functions where possible
Diffstat (limited to 'sysconfig/network-scripts/ifup-ippp')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ippp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp index 848b8670..082b422e 100755 --- a/sysconfig/network-scripts/ifup-ippp +++ b/sysconfig/network-scripts/ifup-ippp @@ -368,7 +368,7 @@ function addprovider() fi # Setup IPv6 - if [[ "$IPV6INIT" != [nN0]* && ! -z "$IPV6ADDR" ]]; then + if ! is_false "$IPV6INIT" && ! [[ -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'" |