diff options
author | Nicola Lunghi <nick83ola@gmail.com> | 2019-06-12 14:00:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-14 22:48:22 +0100 |
commit | 6f7eaf80f71aa17124c7f0be8f52902a5194ca7b (patch) | |
tree | fe0fd00d8a777add3f778b153be43cd6242f3ecc /meta/recipes-support/rng-tools/rng-tools/rngd.service | |
parent | e00d88475d0ed7b161f5f58dd13bc9a72e3efdf9 (diff) | |
download | poky-6f7eaf80f71aa17124c7f0be8f52902a5194ca7b.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.
(From OE-Core rev: 16ced1a253c74c01ca414db2f1a010c083213b91)
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/rngd.service')
-rw-r--r-- | meta/recipes-support/rng-tools/rng-tools/rngd.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service b/meta/recipes-support/rng-tools/rng-tools/rngd.service index f0355db14f..b1a78527be 100644 --- a/meta/recipes-support/rng-tools/rng-tools/rngd.service +++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service | |||
@@ -5,8 +5,8 @@ After=systemd-udev-settle.service | |||
5 | Before=sysinit.target | 5 | Before=sysinit.target |
6 | 6 | ||
7 | [Service] | 7 | [Service] |
8 | ExecStart=@SBINDIR@/rngd -f -r /dev/hwrng | 8 | EnvironmentFile=-@SYSCONFDIR@/default/rng-tools |
9 | SuccessExitStatus=66 | 9 | ExecStart=@SBINDIR@/rngd -f $EXTRA_ARGS |
10 | 10 | ||
11 | [Install] | 11 | [Install] |
12 | WantedBy=multi-user.target | 12 | WantedBy=multi-user.target |