mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Set portmap_enable if Amd or running as an NFS server is enabled.
This bites too many systems upgrading from our change in defaults.
This commit is contained in:
parent
f4d022175f
commit
0a8b5f7590
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69876
15
etc/rc
15
etc/rc
@ -71,6 +71,21 @@ elif [ -r /etc/rc.conf ]; then
|
||||
. /etc/rc.conf
|
||||
fi
|
||||
|
||||
# Deal with dependancies.
|
||||
case ${amd_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
|
||||
portmap_enable="YES"
|
||||
;;
|
||||
esac
|
||||
case ${nfs_server_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/exports ]; then
|
||||
portmap_enable="YES"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# First pass at entropy recovery so the rebooting /dev/random can reseed.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user