aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/init.ipv6-global
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-07-24 20:09:07 +0000
committerBill Nottingham <notting@redhat.com>2001-07-24 20:09:07 +0000
commitee673429a7dae3de798f97ec323ea2530c22348e (patch)
treef5bb9cc241fe4cfbccfb06b4ebf1ff04c5276703 /sysconfig/network-scripts/init.ipv6-global
parent4bd3e0cd786167ab7cb8bf7e33974c482fa44296 (diff)
downloadinitscripts-ee673429a7dae3de798f97ec323ea2530c22348e.tar
initscripts-ee673429a7dae3de798f97ec323ea2530c22348e.tar.gz
initscripts-ee673429a7dae3de798f97ec323ea2530c22348e.tar.bz2
initscripts-ee673429a7dae3de798f97ec323ea2530c22348e.tar.xz
initscripts-ee673429a7dae3de798f97ec323ea2530c22348e.zip
ipv6 update (<pekkas@netcore.fi>)
Diffstat (limited to 'sysconfig/network-scripts/init.ipv6-global')
-rwxr-xr-xsysconfig/network-scripts/init.ipv6-global8
1 files changed, 3 insertions, 5 deletions
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 <pekkas@netcore.fi>
#
-# 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