aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-05 21:04:07 +0000
committerBill Nottingham <notting@redhat.com>2001-03-05 21:04:07 +0000
commit3e8be2b70d3838bfb77a7011f84c89b8a537a384 (patch)
treed496643216ba3472dc133273346a73c0ba565da9 /rc.d/init.d/network
parent188cd3c51890943d2c715b60730a2b1437111226 (diff)
downloadinitscripts-3e8be2b70d3838bfb77a7011f84c89b8a537a384.tar
initscripts-3e8be2b70d3838bfb77a7011f84c89b8a537a384.tar.gz
initscripts-3e8be2b70d3838bfb77a7011f84c89b8a537a384.tar.bz2
initscripts-3e8be2b70d3838bfb77a7011f84c89b8a537a384.tar.xz
initscripts-3e8be2b70d3838bfb77a7011f84c89b8a537a384.zip
fix awk for alias
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 60e378f6..860ac5dd 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -31,7 +31,7 @@ fi
# If IPv6 is explicitly configured, make sure it's available.
if [ "$NETWORKING_IPV6" = "yes" ]; then
- alias=`modprobe -c | grep net-pf-10 | awk '{ print $2 }'`
+ alias=`modprobe -c | grep net-pf-10 | awk '{ print $3 }'`
if [ "$alias" != "ipv6" -a ! -f /proc/net/if_inet6 ]; then
echo "alias net-pf-10 ipv6" >> /etc/modules.conf
fi