diff options
author | obrien <obrien@FreeBSD.org> | 2000-12-11 22:47:50 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-12-11 22:47:50 +0000 |
commit | 634a4b8080cc65186c3c5ad0720964ac4544f83c (patch) | |
tree | b17febc9a923d6f63769ba9204289ebc270bec66 /etc/rc | |
parent | bfe09706cdd42f9f0f606a08027a33d395e143ac (diff) | |
download | FreeBSD-src-634a4b8080cc65186c3c5ad0720964ac4544f83c.zip FreeBSD-src-634a4b8080cc65186c3c5ad0720964ac4544f83c.tar.gz |
Set portmap_enable if Amd or running as an NFS server is enabled.
This bites too many systems upgrading from our change in defaults.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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. # |