summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/haveged/files/haveged-init.d.2')
-rw-r--r--sys-apps/haveged/files/haveged-init.d.216
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/haveged/files/haveged-init.d.2 b/sys-apps/haveged/files/haveged-init.d.2
new file mode 100644
index 000000000000..bed95f0cc81f
--- /dev/null
+++ b/sys-apps/haveged/files/haveged-init.d.2
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+command="/usr/sbin/${SVCNAME}"
+command_args="-r 0 ${HAVEGED_OPTS}"
+pidfile=/var/run/${SVCNAME}.pid
+
+depend() {
+ need localmount
+ use logger
+ provide entropy
+}
+
+# vim:ft=gentoo-init-d: