Set portmap_enable if Amd or running as an NFS server is enabled.

This bites too many systems upgrading from our change in defaults.
This commit is contained in:
David E. O'Brien 2000-12-11 22:47:50 +00:00
parent f4d022175f
commit 0a8b5f7590
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69876

15
etc/rc
View file

@ -71,6 +71,21 @@ elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
# Deal with dependancies.
case ${amd_enable} in
[Yy][Ee][Ss])
portmap_enable="YES"
;;
esac
case ${nfs_server_enable} in
[Yy][Ee][Ss])
if [ -r /etc/exports ]; then
portmap_enable="YES"
fi
;;
esac
# First pass at entropy recovery so the rebooting /dev/random can reseed.
#