Don't save entropy inside jails.

As of r126744, we no longer feed the entropy device in jails upon
start, and collecting them is no longer useful.

PR:		conf/126744
Submitted by:	Eugene Grosbein <eugen grosbein net> (with minor changes)
MFC after:	1 week
Approved by:	so (des)
This commit is contained in:
Xin LI 2014-07-22 06:40:27 +00:00
parent 12857dd1ea
commit 8fcb9ca99b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268979

View File

@ -42,6 +42,8 @@ elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf 2>/dev/null
fi
[ $(/sbin/sysctl -n security.jail.jailed) = 0 ] || exit 0
case ${entropy_dir} in
[Nn][Oo])
exit 0