aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-02 22:35:05 +0000
committerBill Nottingham <notting@redhat.com>2001-02-02 22:35:05 +0000
commit9c89835457dc5379afbcd71cd5d946cd198911a6 (patch)
treeb01e531dbc72fbaf0428f6f7ae295346ad469e1e /sysconfig
parent96b55bc2293335cb2b6de9f19b6bcb8560a66a2f (diff)
downloadinitscripts-9c89835457dc5379afbcd71cd5d946cd198911a6.tar
initscripts-9c89835457dc5379afbcd71cd5d946cd198911a6.tar.gz
initscripts-9c89835457dc5379afbcd71cd5d946cd198911a6.tar.bz2
initscripts-9c89835457dc5379afbcd71cd5d946cd198911a6.tar.xz
initscripts-9c89835457dc5379afbcd71cd5d946cd198911a6.zip
actually include ipv6 files in the spec file
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ipv62
-rwxr-xr-xsysconfig/network-scripts/ifdown-sit2
-rwxr-xr-xsysconfig/network-scripts/ifup-ipv64
-rwxr-xr-xsysconfig/network-scripts/ifup-sit2
-rw-r--r--sysconfig/network-scripts/network-functions-ipv66
5 files changed, 8 insertions, 8 deletions
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