aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/rng-tools/rng-tools/default
diff options
context:
space:
mode:
authorNicola Lunghi <nick83ola@gmail.com>2019-06-12 14:00:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-12 23:15:45 +0100
commit16ced1a253c74c01ca414db2f1a010c083213b91 (patch)
treea66a3b9824a5c47dfb00ed3d7a99c2e45a340eb7 /meta/recipes-support/rng-tools/rng-tools/default
parentca737408bb7e9dd24f3a18e60fad290c6e539b7b (diff)
downloadopenembedded-core-contrib-16ced1a253c74c01ca414db2f1a010c083213b91.tar.gz
rng-tools: harmonise systemd and sysvinit
this commit will permit to read the option from /etc/default/rng-tools both from systemd and sysvinit unit file. Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/rng-tools/rng-tools/default')
-rw-r--r--meta/recipes-support/rng-tools/rng-tools/default3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools/default b/meta/recipes-support/rng-tools/rng-tools/default
index ab7cd9327f..b9f8e03635 100644
--- a/meta/recipes-support/rng-tools/rng-tools/default
+++ b/meta/recipes-support/rng-tools/rng-tools/default
@@ -1,2 +1 @@
-# Specify rng device
-RNG_DEVICE=/dev/hwrng
+EXTRA_ARGS="-r /dev/hwrng"