The /dev/random harvesting sysctls have had a name change.

Reflect this.
This commit is contained in:
Mark Murray 2001-03-10 13:45:28 +00:00
parent dafaee8183
commit 74044234dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74075

6
etc/rc
View File

@ -117,7 +117,7 @@ case ${harvest_interrupt} in
;;
*)
if [ -w /dev/random ]; then
/sbin/sysctl -w kern.random.sys.harvest_interrupt=1 >/dev/null
/sbin/sysctl -w kern.random.sys.harvest.interrupt=1 >/dev/null
echo -n ' interrupts'
fi
;;
@ -128,7 +128,7 @@ case ${harvest_ethernet} in
;;
*)
if [ -w /dev/random ]; then
/sbin/sysctl -w kern.random.sys.harvest_ethernet=1 >/dev/null
/sbin/sysctl -w kern.random.sys.harvest.ethernet=1 >/dev/null
echo -n ' ethernet'
fi
;;
@ -139,7 +139,7 @@ case ${harvest_p_to_p} in
;;
*)
if [ -w /dev/random ]; then
/sbin/sysctl -w kern.random.sys.harvest_point_to_point=1 >/dev/null
/sbin/sysctl -w kern.random.sys.harvest.point_to_point=1 >/dev/null
echo -n ' point_to_point'
fi
;;