Call rpc.umntall only if nfs_client_enable, hang occurse otherwise

This commit is contained in:
Andrey A. Chernov 1999-11-30 03:34:01 +00:00
parent c91c657ae2
commit 3999be82fa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53915

10
etc/rc
View File

@ -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