From 6116092e69c274246c6845ecaa6d7f87deb87f00 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 13 Mar 2001 03:34:45 +0000 Subject: make sure ipv6 is loaded if needed --- sysconfig/network-scripts/ifup-ipv6 | 5 ++++- sysconfig/network-scripts/ifup-sit | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'sysconfig') 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 # -# 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 # -# 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 -- cgit v1.2.1