From a2dc6debf4a9c4d3bef7882c26c63e0b0e5947c8 Mon Sep 17 00:00:00 2001 From: bsd Date: Wed, 13 Dec 2000 00:43:10 +0000 Subject: [PATCH] If portmap is started as a dependancy, echo a notice during boot. Approved by: obrien --- etc/rc | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/etc/rc b/etc/rc index e9c0e4114d7..d9de5eda0bd 100644 --- a/etc/rc +++ b/etc/rc @@ -74,14 +74,29 @@ fi # Deal with dependancies. case ${amd_enable} in [Yy][Ee][Ss]) - - portmap_enable="YES" + case ${portmap_enable} in + [Yy][Ee][Ss]) + ;; + *) + portmap_enable="YES" + echo "DEPENDENCY NOTE: portmap will be enabled" \ + "to support amd" + ;; + esac ;; esac case ${nfs_server_enable} in [Yy][Ee][Ss]) if [ -r /etc/exports ]; then - portmap_enable="YES" + case ${portmap_enable} in + [Yy][Ee][Ss]) + ;; + *) + portmap_enable="YES" + echo "DEPENDENCY NOTE: portmap will be enabled" \ + "to support NFS" + ;; + esac fi ;; esac -- 2.45.2