aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ipv6
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/network-scripts/ifup-ipv6
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/network-scripts/ifup-ipv6')
-rwxr-xr-xsysconfig/network-scripts/ifup-ipv64
1 files changed, 2 insertions, 2 deletions
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