diff options
author | Brian S. Dean <bsd@FreeBSD.org> | 2000-12-13 00:43:10 +0000 |
---|---|---|
committer | Brian S. Dean <bsd@FreeBSD.org> | 2000-12-13 00:43:10 +0000 |
commit | 5d24b61a76bd05e554749ab58535e1fb36f14a5d (patch) | |
tree | 3724128c148f3888e77fcc21d5f46f54775f201d /etc/rc | |
parent | 05eff81e04cea6a744f577b156716d6e60abbceb (diff) | |
download | src-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/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 |