summaryrefslogtreecommitdiffstats
path: root/rules/systemd.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-04-27 12:04:16 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-05-09 15:52:57 +0200
commit391a3940e0f998910ade1279ecc7287e97ae2fd6 (patch)
tree3dce261b353c46f30989678e02006bf3b160119f /rules/systemd.in
parent9e1849c05c30d5f14fc33e4b331bc07f0a619d59 (diff)
downloadptxdist-391a3940e0f998910ade1279ecc7287e97ae2fd6.tar.gz
ptxdist-391a3940e0f998910ade1279ecc7287e97ae2fd6.tar.xz
systemd: add option to disable random seed services
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/systemd.in')
-rw-r--r--rules/systemd.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/rules/systemd.in b/rules/systemd.in
index 0a52caee6..0b91c0d49 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -22,3 +22,18 @@ config SYSTEMD
drop-in replacement for sysvinit.
http://www.freedesktop.org/wiki/Software/systemd
+
+if SYSTEMD
+
+config SYSTEMD_DISABLE_RANDOM_SEED
+ bool
+ prompt "disable random seed services"
+ help
+ Disable service files to load/save the random seed during
+ startup/shutdown.
+ This option is for systems with read-only rootfs, where writing
+ the random seed is not possible.
+ Warning: enabling this option may be insecure.
+
+endif
+