summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-11-30 03:34:01 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-11-30 03:34:01 +0000
commit3999be82fafd0cc0c4735befe8e6b991b004af68 (patch)
treea2c5858320af869144ba032299eb1ffde11de075 /etc
parentc91c657ae221e149fcdfb370b2bfc8837bf2ec41 (diff)
downloadsrc-test2-3999be82fafd0cc0c4735befe8e6b991b004af68.tar.gz
src-test2-3999be82fafd0cc0c4735befe8e6b991b004af68.zip
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/rc10
1 files changed, 7 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index bd9224721fb4..b7ddc8f0ceec 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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