void-packages/srcpkgs/rng-tools/files/rngd/run
2015-04-24 22:37:22 +02:00

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