aboutsummaryrefslogtreecommitdiffstats
path: root/ppp/ip-down.ipv6to4
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 /ppp/ip-down.ipv6to4
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 'ppp/ip-down.ipv6to4')
-rw-r--r--ppp/ip-down.ipv6to410
1 files changed, 3 insertions, 7 deletions
diff --git a/ppp/ip-down.ipv6to4 b/ppp/ip-down.ipv6to4
index 2f481708..29a4e8a0 100644
--- a/ppp/ip-down.ipv6to4
+++ b/ppp/ip-down.ipv6to4
@@ -6,7 +6,7 @@
# Taken from:
# (P) & (C) 2000-2001 by Peter Bieringer <pb@bieringer.de>
#
-# Version 2001-05-07
+# Version 2001-07-15a
#
# Calling parameters:
# $1: interface name
@@ -42,11 +42,8 @@ CONFIG=$1
[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG
source_config
-# Test if IPv6 is globally enabled
-if [ ! "${NETWORKING_IPV6}" = "yes" ]; then
- # Global IPv6 switch not enabled, end now
- 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
@@ -70,7 +67,6 @@ if [ "$valid6to4config" = "yes" ]; then
if [ "$IPV6TO4_CONTROL_RADVD" = "yes" ]; then
# stop RADVD from distributing no longer usable 6to4 prefixes
if [ -z "$IPV6TO4_RADVD_PIDFILE" ]; then
- # Take default
IPV6TO4_RADVD_PIDFILE="/var/run/radvd/radvd.pid"
fi
# Send SIGHUP to radvd
/share/po?h=distro/mga7&id=db5cae777cbb3abf405c13826574ffa9b59abc80'>updated pot filePablo Saratxaga2004-03-041-857/+872 * updated pot filePablo Saratxaga2004-03-021-28/+16 * updated pot filePablo Saratxaga2004-03-021-525/+600 * syncThierry Vignaud2004-02-271-1/+1 * updated po filesPablo Saratxaga2004-02-271-594/+571 * updated pot file; added Latgalian filePablo Saratxaga2004-02-241-463/+544 * merge in typo fixes from tilleThierry Vignaud2004-02-241-4/+4 * updated pot filePablo Saratxaga2004-02-231-558/+563 * typo fixes (Reinout van Schouwen)Thierry Vignaud2004-02-231-2/+2 * updated pot filePablo Saratxaga2004-02-201-478/+473 * updated pot filePablo Saratxaga2004-02-201-141/+301 * updateThierry Vignaud2004-02-191-15103/+17412 * UpdatedArkadiusz Lipiec2004-02-191-14459/+16604 * updated pot filePablo Saratxaga2004-02-1927-357468/+450095 * updated pot filePablo Saratxaga2004-02-19