aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-sit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-08-02 15:23:05 +0000
committerBill Nottingham <notting@redhat.com>2006-08-02 15:23:05 +0000
commitb272a188dd8231a1c0bba27fb08b8acf93d738e8 (patch)
tree761af8a129791b924e29f7d5e4ac23d9686af79e /sysconfig/network-scripts/ifup-sit
parentc7a016ff99dfa1264b2a355e3aa06a51190d225b (diff)
downloadinitscripts-b272a188dd8231a1c0bba27fb08b8acf93d738e8.tar
initscripts-b272a188dd8231a1c0bba27fb08b8acf93d738e8.tar.gz
initscripts-b272a188dd8231a1c0bba27fb08b8acf93d738e8.tar.bz2
initscripts-b272a188dd8231a1c0bba27fb08b8acf93d738e8.tar.xz
initscripts-b272a188dd8231a1c0bba27fb08b8acf93d738e8.zip
IPv6 updates (<pb@bieringer.de>, #143452)
Diffstat (limited to 'sysconfig/network-scripts/ifup-sit')
-rwxr-xr-xsysconfig/network-scripts/ifup-sit10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysconfig/network-scripts/ifup-sit b/sysconfig/network-scripts/ifup-sit
index 4fa78eb5..d884f026 100755
--- a/sysconfig/network-scripts/ifup-sit
+++ b/sysconfig/network-scripts/ifup-sit
@@ -11,7 +11,7 @@
#
# RHL integration assistance by Pekka Savola <pekkas@netcore.fi>
#
-# Version 2003-09-08
+# Version: 2003-09-08
#
# Uses following information from /etc/sysconfig/network:
# NETWORKING_IPV6=yes|no: controls IPv6 initialization (global setting)
@@ -100,10 +100,10 @@ fi
if [ -n "$IPV6_DEFAULTDEV" -o -n "$IPV6_DEFAULTGW" ]; then
ipv6_set_default_route "$IPV6_DEFAULTGW" "$IPV6_DEFAULTDEV" "$DEVICE"
fi
-
-# Setup additional static IPv6 routes on specified interface, if given
+
+# Setup additional static IPv6 routes on specified interface, if given
if [ -f /etc/sysconfig/static-routes-ipv6 ]; then
- LC_ALL=C grep -w "^$DEVICE" /etc/sysconfig/static-routes-ipv6 2>/dev/null | while read device ipv6route args; do
+ LC_ALL=C grep -w "^$DEVICE" /etc/sysconfig/static-routes-ipv6 | while read device ipv6route args; do
ipv6_add_route $ipv6route :: $DEVICE
done
fi
@@ -111,6 +111,6 @@ fi
# Setup additional static IPv6 routes (newer config style)
if [ -f "/etc/sysconfig/network-scripts/route6-$REALDEVICE" ]; then
cat "/etc/sysconfig/network-scripts/route6-$REALDEVICE" | sed 's/#.*//g' | grep -v '^[[:space:]]*$' | while read line; do
- ipv6_exec_ip -6 route add $line
+ ipv6_exec_ip -6 route add $line
done
fi