From 3e8be2b70d3838bfb77a7011f84c89b8a537a384 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 5 Mar 2001 21:04:07 +0000 Subject: fix awk for alias --- rc.d/init.d/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d') 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 -- cgit v1.2.1