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:
parent
bfe09706cd
commit
634a4b8080
15
etc/rc
15
etc/rc
@ -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.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user