mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 06:42:45 +00:00
If portmap is started as a dependancy, echo a notice during boot.
Approved by: obrien
This commit is contained in:
parent
05eff81e04
commit
5d24b61a76
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69949
21
etc/rc
21
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
|
||||
|
Loading…
Reference in New Issue
Block a user