summaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-09-21 15:58:58 +0000
committerBill Nottingham <notting@redhat.com>2001-09-21 15:58:58 +0000
commit8efba0500dd67a6bfe3b0a30a64061cf585dd293 (patch)
tree373025715db82c1a3de82efb0b137d0dca6357e7 /rc.d/init.d/network
parent11f176d4896e418b12da2cb9c9d420390cd16cdc (diff)
Backport some fixes from the 7.2 branch:
- unmounting of loopback devices - unmounting of /initrd - don't blow up on ext3/reiserfs in /etc/init.d/halt - module alias determination fixes - quota tweaks
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 5407b878..fd69537a 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 $3 }'`
+ alias=`modprobe -c | awk '/^alias net-pf-10 / { print $3 }'`
if [ "$alias" != "ipv6" -a ! -f /proc/net/if_inet6 ]; then
echo "alias net-pf-10 ipv6" >> /etc/modules.conf
fi