aboutsummaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorBrian S. Dean <bsd@FreeBSD.org>2000-12-13 00:43:10 +0000
committerBrian S. Dean <bsd@FreeBSD.org>2000-12-13 00:43:10 +0000
commit5d24b61a76bd05e554749ab58535e1fb36f14a5d (patch)
tree3724128c148f3888e77fcc21d5f46f54775f201d /etc/rc
parent05eff81e04cea6a744f577b156716d6e60abbceb (diff)
downloadsrc-5d24b61a76bd05e554749ab58535e1fb36f14a5d.tar.gz
src-5d24b61a76bd05e554749ab58535e1fb36f14a5d.zip
If portmap is started as a dependancy, echo a notice during boot.
Approved by: obrien
Notes
Notes: svn path=/head/; revision=69949
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc21
1 files 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