diff options
author | Bill Nottingham <notting@redhat.com> | 2002-01-25 06:35:43 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-01-25 06:35:43 +0000 |
commit | e36d9412da6cf1d19c213044da643db7c41d436f (patch) | |
tree | c26df9bcfcfc09d59ab45ae8a5dbe573233cf789 /rc.d/init.d/netfs | |
parent | cc6d18c91fa7e161e8ca1aad61ed9b2317dcfeee (diff) | |
download | initscripts-e36d9412da6cf1d19c213044da643db7c41d436f.tar initscripts-e36d9412da6cf1d19c213044da643db7c41d436f.tar.gz initscripts-e36d9412da6cf1d19c213044da643db7c41d436f.tar.bz2 initscripts-e36d9412da6cf1d19c213044da643db7c41d436f.tar.xz initscripts-e36d9412da6cf1d19c213044da643db7c41d436f.zip |
fix netdev uses (#57314, <cajoline@chaosengine.de>)
Diffstat (limited to 'rc.d/init.d/netfs')
-rwxr-xr-x | rc.d/init.d/netfs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index dbd8b58a..53c49089 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -25,7 +25,7 @@ fi NFSFSTAB=`grep -v '^#' /etc/fstab | awk '{ if ($3 ~ /^nfs$/ && $4 !~ /noauto/) print $2}'` SMBFSTAB=`grep -v '^#' /etc/fstab | awk '{ if ($3 ~ /^smbfs$/ && $4 !~ /noauto/) print $2}'` NCPFSTAB=`grep -v '^#' /etc/fstab | awk '{ if ($3 ~ /^ncpfs$/ && $4 !~ /noauto/) print $2}'` -NETDEVMTAB=`grep -v '^#' /proc/mounts | awk '{ if (($4 ~ /_netdev$/) && ($2 != "/")) print $2}'` +NETDEVMTAB=`grep -v '^#' /proc/mounts | awk '{ if (($4 ~ /_netdev/) && ($2 != "/")) print $2}'` NFSMTAB=`grep -v '^#' /proc/mounts | awk '{ if (($3 ~ /nfs$/) && ($2 != "/")) print $2}'` SMBMTAB=`grep -v '^#' /proc/mounts | awk '{ if ($3 ~ /^smbfs$/ ) print $2}'` NCPMTAB=`grep -v '^#' /proc/mounts | awk '{ if ($3 ~ /^ncpfs$/ ) print $2}'` @@ -73,6 +73,7 @@ case "$1" in [ -n "$NETDEVMTAB" ] && { sig= retry=3 + remaining=`awk '!/^#/ && $4 ~ /_netdev/ && $2 != "/" {print $2}' /proc/mounts` while [ -n "$remaining" -a "$retry" -gt 0 ] do if [ "$retry" -lt 3 ]; then |