From 5d24b61a76bd05e554749ab58535e1fb36f14a5d Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" 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 e9c0e4114d7b..d9de5eda0bd9 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