diff options
author | ache <ache@FreeBSD.org> | 1999-11-30 03:34:01 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1999-11-30 03:34:01 +0000 |
commit | 2a7d5352ce2de1e057044219b6fe59bd9f0af0bc (patch) | |
tree | 4f18fc8592adf0d26328f14c9d59e879f97f509c /etc | |
parent | 3fc00dd03fa8c0de826c282a396d09094b217010 (diff) | |
download | FreeBSD-src-2a7d5352ce2de1e057044219b6fe59bd9f0af0bc.zip FreeBSD-src-2a7d5352ce2de1e057044219b6fe59bd9f0af0bc.tar.gz |
Call rpc.umntall only if nfs_client_enable, hang occurse otherwise
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -216,9 +216,13 @@ case ${early_nfs_mounts} in *) case $1 in autoboot) - if [ -f /var/db/mounttab ]; then - rpc.umntall -k - fi + case ${nfs_client_enable} in + [Yy][Ee][Ss]) + if [ -f /var/db/mounttab ]; then + rpc.umntall -k + fi + ;; + esac ;; esac mount -a -t nfs |