From 9c89835457dc5379afbcd71cd5d946cd198911a6 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 2 Feb 2001 22:35:05 +0000 Subject: actually include ipv6 files in the spec file --- sysconfig/network-scripts/ifdown-ipv6 | 2 +- sysconfig/network-scripts/ifdown-sit | 2 +- sysconfig/network-scripts/ifup-ipv6 | 4 ++-- sysconfig/network-scripts/ifup-sit | 2 +- sysconfig/network-scripts/network-functions-ipv6 | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/ifdown-ipv6 b/sysconfig/network-scripts/ifdown-ipv6 index 5d443cf1..fcef285b 100755 --- a/sysconfig/network-scripts/ifdown-ipv6 +++ b/sysconfig/network-scripts/ifdown-ipv6 @@ -16,7 +16,7 @@ CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG source_config -# Test if IPv6 configuration is enabled +# Test if IPv6 configuration is enabled for this interface if [ ! "$IPV6INIT" = "yes" ]; then # not enabled, stop here exit 0 diff --git a/sysconfig/network-scripts/ifdown-sit b/sysconfig/network-scripts/ifdown-sit index fb345359..3eba5d79 100755 --- a/sysconfig/network-scripts/ifdown-sit +++ b/sysconfig/network-scripts/ifdown-sit @@ -16,7 +16,7 @@ CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG source_config -# Test if IPv6 configuration is enabled +# Test if IPv6 configuration is enabled for this interface if [ ! "$IPV6INIT" = "yes" ]; then # not enabled, stop here exit 0 diff --git a/sysconfig/network-scripts/ifup-ipv6 b/sysconfig/network-scripts/ifup-ipv6 index 23d02eb8..e69262c8 100755 --- a/sysconfig/network-scripts/ifup-ipv6 +++ b/sysconfig/network-scripts/ifup-ipv6 @@ -15,7 +15,7 @@ CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG source_config -# Test if IPv6 configuration is enabled +# Test if IPv6 configuration is enabled for this interface if [ ! "$IPV6INIT" = "yes" ]; then # not enabled, stop here exit 0 @@ -41,7 +41,7 @@ if [ "${NETWORKING_IPV6}" = "yes" ]; then fi # Setup additional static IPv6 routes on specified interface - [ -f /etc/sysconfig/static-routes-ipv6 ]; then + if [ -f /etc/sysconfig/static-routes-ipv6 ]; then grep "^$DEVICE" /etc/sysconfig/static-routes-ipv6 | while read device args; do if [ "$device" = "$DEVICE" ]; then ifup_ipv6_route $args $DEVICE diff --git a/sysconfig/network-scripts/ifup-sit b/sysconfig/network-scripts/ifup-sit index a7c5a315..ef703943 100755 --- a/sysconfig/network-scripts/ifup-sit +++ b/sysconfig/network-scripts/ifup-sit @@ -15,7 +15,7 @@ CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG source_config -# Test if IPv6 configuration is enabled +# Test if IPv6 configuration is enabled for this interface if [ ! "$IPV6INIT" = "yes" ]; then # not enabled, stop here exit 0 diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6 index 71c0f005..c8c61cc4 100644 --- a/sysconfig/network-scripts/network-functions-ipv6 +++ b/sysconfig/network-scripts/network-functions-ipv6 @@ -33,7 +33,7 @@ function test_ipv6() fi if ! [ -f /proc/net/if_inet6 ]; then - echo "Do not found IPv6 in kernel, try to load module" + echo "Did not find IPv6 in kernel, trying to load module" modprobe ipv6 if ! [ -f /proc/net/if_inet6 ]; then @@ -89,7 +89,7 @@ function ifup_ipv6_route() { device=$3 # maybe empty if [ -z $networkipv6 ]; then - echo $"Missing option IPv6-network'" + echo $"Missing option 'IPv6-network'" ifup_ipv6_route_usage return 1 fi @@ -237,7 +237,7 @@ function ifdown_ipv6_tunnel() { route -A inet6 del $routeipv6 gw ::$addressipv4tunnel dev sit0 fi - # disable IPv6-over-IPv4 tunnels (if no longer a tunnel is up) + # disable IPv6-over-IPv4 tunnels (if tunnel is no longer up) if route -A inet6 -n | grep sit0 | grep -v -q "^::"; then # existing routes, do nothing true -- cgit v1.2.1