From: Hongxu Jia Date: Fri, 9 Nov 2018 08:54:21 +0000 (+0800) Subject: rng-tools: Fix crazy defaults X-Git-Tag: 2018-10.4-thud~208 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b1980460839baa04d10866877cbfe31ca8093ff3;p=openembedded-core.git rng-tools: Fix crazy defaults Since commit [f1dc9ac rng-tools: Fix crazy defaults] fixed init based on sysvinit, this fix rngd.service based on systemd. Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service b/meta/recipes-support/rng-tools/rng-tools/rngd.service index cb8102442d..f0355db14f 100644 --- a/meta/recipes-support/rng-tools/rng-tools/rngd.service +++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service @@ -5,7 +5,7 @@ After=systemd-udev-settle.service Before=sysinit.target [Service] -ExecStart=@SBINDIR@/rngd -f -r /dev/urandom +ExecStart=@SBINDIR@/rngd -f -r /dev/hwrng SuccessExitStatus=66 [Install]