diff options
author | Bill Nottingham <notting@redhat.com> | 2001-03-05 21:04:07 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-03-05 21:04:07 +0000 |
commit | 3e8be2b70d3838bfb77a7011f84c89b8a537a384 (patch) | |
tree | d496643216ba3472dc133273346a73c0ba565da9 /rc.d/init.d/network | |
parent | 188cd3c51890943d2c715b60730a2b1437111226 (diff) | |
download | initscripts-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-x | rc.d/init.d/network | 2 |
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 |