summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbsd <bsd@FreeBSD.org>2000-12-13 00:43:10 +0000
committerbsd <bsd@FreeBSD.org>2000-12-13 00:43:10 +0000
commita2dc6debf4a9c4d3bef7882c26c63e0b0e5947c8 (patch)
tree337247cc1210e54deffd4ec5d9dd393c2dd3b978 /etc
parent2f9510483656cbc312350e507024771791fe3d12 (diff)
downloadFreeBSD-src-a2dc6debf4a9c4d3bef7882c26c63e0b0e5947c8.zip
FreeBSD-src-a2dc6debf4a9c4d3bef7882c26c63e0b0e5947c8.tar.gz
If portmap is started as a dependancy, echo a notice during boot.
Approved by: obrien
Diffstat (limited to 'etc')
-rw-r--r--etc/rc21
1 files changed, 18 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index e9c0e41..d9de5ed 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
OpenPOWER on IntegriCloud