If portmap is started as a dependancy, echo a notice during boot.

Approved by:	obrien
This commit is contained in:
Brian S. Dean 2000-12-13 00:43:10 +00:00
parent 05eff81e04
commit 5d24b61a76
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69949

21
etc/rc
View File

@ -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