From ee673429a7dae3de798f97ec323ea2530c22348e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 24 Jul 2001 20:09:07 +0000 Subject: ipv6 update () --- sysconfig/network-scripts/init.ipv6-global | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sysconfig/network-scripts/init.ipv6-global') diff --git a/sysconfig/network-scripts/init.ipv6-global b/sysconfig/network-scripts/init.ipv6-global index da46d4ba..aed005d8 100755 --- a/sysconfig/network-scripts/init.ipv6-global +++ b/sysconfig/network-scripts/init.ipv6-global @@ -8,7 +8,7 @@ # # RHL integration assistance by Pekka Savola # -# Version 2001-05-22d +# Version 2001-07-15a # # Calling parameters: # $1: action (currently supported: start|stop|showsysctl) @@ -37,10 +37,8 @@ cd /etc/sysconfig/network-scripts ACTION="$1" POSITION="$2" -# Test for IPv6 enabling -if [ ! "${NETWORKING_IPV6}" = "yes" ]; then - exit 0 -fi +# Test whether IPv6 should be configured, else stop +[ "${NETWORKING_IPV6}" = "yes" ] || exit 0 if [ ! -f /etc/sysconfig/network-scripts/network-functions-ipv6 ]; then exit 1 -- cgit v1.2.1