diff options
author | bsd <bsd@FreeBSD.org> | 2000-12-13 00:43:10 +0000 |
---|---|---|
committer | bsd <bsd@FreeBSD.org> | 2000-12-13 00:43:10 +0000 |
commit | a2dc6debf4a9c4d3bef7882c26c63e0b0e5947c8 (patch) | |
tree | 337247cc1210e54deffd4ec5d9dd393c2dd3b978 /etc/rc | |
parent | 2f9510483656cbc312350e507024771791fe3d12 (diff) | |
download | FreeBSD-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/rc')
-rw-r--r-- | etc/rc | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -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 |