aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-ipv65
-rwxr-xr-xsysconfig/network-scripts/ifup-sit5
2 files changed, 8 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-ipv6 b/sysconfig/network-scripts/ifup-ipv6
index ce3fec5e..4ee50e1e 100755
--- a/sysconfig/network-scripts/ifup-ipv6
+++ b/sysconfig/network-scripts/ifup-ipv6
@@ -6,7 +6,7 @@
# Taken from:
# (P) & (C) 2000-2001 by Peter Bieringer <pb@bieringer.de>
#
-# Version 2001-02-08
+# Version 2001-03-03
#
# Filter tags (for stripping, empty lines following if all is stripped)
@@ -30,6 +30,9 @@ fi
if [ "${NETWORKING_IPV6}" = "yes" ]; then
. /etc/sysconfig/network-scripts/network-functions-ipv6
+
+ # Run basic IPv6 test (and make sure the ipv6 module will be loaded)
+ test_ipv6 || exit 0
# Setup IPv6 address on specified interface
if ! [ -z "$IPV6ADDR" ]; then
diff --git a/sysconfig/network-scripts/ifup-sit b/sysconfig/network-scripts/ifup-sit
index 5e13ae3c..ff92aba1 100755
--- a/sysconfig/network-scripts/ifup-sit
+++ b/sysconfig/network-scripts/ifup-sit
@@ -6,7 +6,7 @@
# Taken from:
# (P) & (C) 2000-2001 by Peter Bieringer <pb@bieringer.de>
#
-# Version 2001-02-08
+# Version 2001-03-03
#
# Filter tags (for stripping, empty lines following if all is stripped)
@@ -31,6 +31,9 @@ if [ "${NETWORKING_IPV6}" = "yes" ]; then
. /etc/sysconfig/network-scripts/network-functions-ipv6
+ # Run basic IPv6 test (and make sure the ipv6 module will be loaded)
+ test_ipv6 || exit 0
+
# Setup IPv6-in-IPv4 tunnel(s)
if [ "$DEVICE" = "sit0" ]; then
ifup_ipv6_autotunnel