mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 06:42:45 +00:00
The /dev/random harvesting sysctls have had a name change.
Reflect this.
This commit is contained in:
parent
dafaee8183
commit
74044234dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74075
6
etc/rc
6
etc/rc
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user