9 test x
"${rngd:-NO}" = x
"NO" && exit 0
10 test x
"$rngd" = x
"DAEMON" && test -x /bin
/mksh
&& exec mksh
-T- $0 start
15 for node
in hw_random hwrandom i810_rng hwrng
; do
16 if [ -e /dev
/$node ]; then
21 if [ -z "$devnode" ]; then
22 echo "no hardware RNG found, falling back to /dev/urandom"
25 /usr
/sbin
/rngd
-b -r $devnode
28 kill $
(pgrep
-f /usr
/sbin
/rngd
)
36 echo "Usage: $0 {start | stop | restart}"