From 28836ffca41162cdcabf518a280c31b641a0fab2 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Mon, 29 Jul 2013 15:17:48 +0200 Subject: consider IPV6INIT undefined as YES --- ppp/ipv6-up | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ppp') 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 -- cgit v1.2.1