14 lines
157 B
Bash
14 lines
157 B
Bash
#!/bin/sh
|
|
RNGD_OPTS=""
|
|
[ -r conf ] && . ./conf
|
|
|
|
a=0
|
|
n=$(nproc)
|
|
|
|
while [ $a -lt $n ]
|
|
do
|
|
rngd $RNGD_OPTS
|
|
a=`expr $a + 1`
|
|
done
|
|
|
|
exec chpst -b rng-tools pause
|