aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ipv6
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-13 03:34:45 +0000
committerBill Nottingham <notting@redhat.com>2001-03-13 03:34:45 +0000
commit6116092e69c274246c6845ecaa6d7f87deb87f00 (patch)
tree7631208fdc29fa76af98123fe5dfc88a5f2f17f1 /sysconfig/network-scripts/ifup-ipv6
parent929973a5fa342cfcfb285fa82610596000f3bc1f (diff)
downloadinitscripts-6116092e69c274246c6845ecaa6d7f87deb87f00.tar
initscripts-6116092e69c274246c6845ecaa6d7f87deb87f00.tar.gz
initscripts-6116092e69c274246c6845ecaa6d7f87deb87f00.tar.bz2
initscripts-6116092e69c274246c6845ecaa6d7f87deb87f00.tar.xz
initscripts-6116092e69c274246c6845ecaa6d7f87deb87f00.zip
make sure ipv6 is loaded if needed
Diffstat (limited to 'sysconfig/network-scripts/ifup-ipv6')
-rwxr-xr-xsysconfig/network-scripts/ifup-ipv65
1 files changed, 4 insertions, 1 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