7 rng_device
=/dev
/hw_random
10 [ -f /etc
/conf.d
/rngd
] && .
/etc
/conf.d
/rngd
11 PID
=$
(pidof
-o %PPID
/usr
/sbin
/rngd
)
14 stat_busy
"Starting RNG"
15 [ -z "$PID" ] && /usr
/sbin
/rngd
-o $rnd_device -r $rng_device -t $timeout
24 stat_busy
"Stopping RNG"
25 [ ! -z "$PID" ] && kill $PID &> /dev
/null
39 echo "usage: $0 {start|stop|restart}"