diff options
author | Bill Nottingham <notting@redhat.com> | 2006-07-11 18:12:42 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-07-11 18:12:42 +0000 |
commit | 7ad45d75c9fd1986ffc36b2a0c810e33b0114ebd (patch) | |
tree | b0dd94a365df26d91d99e77ad36135e45544d12f /rc.d | |
parent | fce090e6ab24adc16c21a5769e6cc77b553d6fe5 (diff) | |
download | initscripts-7ad45d75c9fd1986ffc36b2a0c810e33b0114ebd.tar initscripts-7ad45d75c9fd1986ffc36b2a0c810e33b0114ebd.tar.gz initscripts-7ad45d75c9fd1986ffc36b2a0c810e33b0114ebd.tar.bz2 initscripts-7ad45d75c9fd1986ffc36b2a0c810e33b0114ebd.tar.xz initscripts-7ad45d75c9fd1986ffc36b2a0c810e33b0114ebd.zip |
/etc/mtab doesn't have comments
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/netfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 59693d11..c18348d6 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -30,7 +30,7 @@ NFSMTAB=`LC_ALL=C awk '$3 ~ /^nfs/ && $3 != "nfsd" && $2 != "/" { print $2 }' /p SMBMTAB=`LC_ALL=C awk '$3 == "smbfs" { print $2 }' /proc/mounts` CIFSMTAB=`LC_ALL=C awk '$3 == "cifs" { print $2 }' /proc/mounts` NCPMTAB=`LC_ALL=C awk '$3 == "ncpfs" { print $2 }' /proc/mounts` -NETDEVMTAB=`LC_ALL=C awk '!/^#/ && $4 ~ /_netdev/ && $2 != "/" { print $2 }' /etc/mtab` +NETDEVMTAB=`LC_ALL=C awk '$4 ~ /_netdev/ && $2 != "/" { print $2 }' /etc/mtab` # See how we were called. case "$1" in |