diff options
author | Bill Nottingham <notting@redhat.com> | 2001-03-13 03:34:45 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-03-13 03:34:45 +0000 |
commit | 6116092e69c274246c6845ecaa6d7f87deb87f00 (patch) | |
tree | 7631208fdc29fa76af98123fe5dfc88a5f2f17f1 /sysconfig | |
parent | 929973a5fa342cfcfb285fa82610596000f3bc1f (diff) | |
download | initscripts-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')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ipv6 | 5 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-sit | 5 |
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 |