From 0a8b5f7590db1bf48f06d25767ee91df3d175a42 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 11 Dec 2000 22:47:50 +0000 Subject: [PATCH] Set portmap_enable if Amd or running as an NFS server is enabled. This bites too many systems upgrading from our change in defaults. --- etc/rc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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. #