make rnd_jytter actually useful
authormirabilos <t.glaser@tarent.de>
Sat, 23 Feb 2019 16:40:30 +0000 (17:40 +0100)
committermirabilos <mirabilos@evolvis.org>
Sat, 23 Feb 2019 16:40:30 +0000 (17:40 +0100)
scripts/early-rng-init-tools_top

index 9446896..659e41b 100755 (executable)
@@ -19,12 +19,7 @@ echo readonly=n >>/conf/param.conf
 
 test -x /usr/libexec/rnd_jytter || exit 0
 
-(
-       exec </dev/null
-       exec >/dev/null
-       if test x"${quiet?}" = x"y"; then
-               exec 2>/dev/null
-       fi
-       /usr/libexec/rnd_jytter -b 8 -d 0.34 -r 8 &
-)
+rndjytter_verbosity=-v
+/usr/libexec/rnd_jytter $rndjytter_verbosity -b 8 -d 0.34 -r 8 \
+    </dev/null >/dev/urandom &
 _log_msg "Info: %s\\n" "Started rnd_jytter in the background"