summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2016-05-13 09:30:52 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-17 08:28:49 +0200
commit3859ca5346b4e729a3f4d28c92c81ab19763d43a (patch)
tree617a38d7830f48d352e590732d248079df1168c5 /projectroot
parentd145d3aeb0f4aa1786d6b4ead84714c9324a579b (diff)
downloadptxdist-3859ca5346b4e729a3f4d28c92c81ab19763d43a.tar.gz
ptxdist-3859ca5346b4e729a3f4d28c92c81ab19763d43a.tar.xz
rng-tools: add systemd service and rngtest options
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/lib/systemd/system/rngd.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/projectroot/lib/systemd/system/rngd.service b/projectroot/lib/systemd/system/rngd.service
new file mode 100644
index 000000000..e1efcbf36
--- /dev/null
+++ b/projectroot/lib/systemd/system/rngd.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Hardware RNG Daemon
+DefaultDependencies=no
+Before=local-fs.target
+
+[Service]
+ExecStart=/usr/sbin/rngd -f