diff --git a/etc/rc b/etc/rc index 946f07fcd728..e9c0e4114d7b 100644 --- a/etc/rc +++ b/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. #