summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-04-08 01:50:53 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-04-08 01:50:53 +0000
commit3aa4b0d47ea2a6f14d365d5b24467c2adf3360d6 (patch)
tree50915555f8991852a6448ace8c63ed24ed7fb832 /sys-apps/haveged
parentMake the init script provide the entropy service. (diff)
downloadgentoo-2-3aa4b0d47ea2a6f14d365d5b24467c2adf3360d6.tar.gz
gentoo-2-3aa4b0d47ea2a6f14d365d5b24467c2adf3360d6.tar.bz2
gentoo-2-3aa4b0d47ea2a6f14d365d5b24467c2adf3360d6.zip
Make the init script provide the entropy service.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/haveged')
-rw-r--r--sys-apps/haveged/ChangeLog5
-rw-r--r--sys-apps/haveged/files/haveged-init.d6
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-apps/haveged/ChangeLog b/sys-apps/haveged/ChangeLog
index 14839dda9e07..561783b86ac6 100644
--- a/sys-apps/haveged/ChangeLog
+++ b/sys-apps/haveged/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/haveged
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/haveged/ChangeLog,v 1.1 2011/01/05 03:30:30 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/haveged/ChangeLog,v 1.2 2011/04/08 01:50:53 flameeyes Exp $
+
+ 08 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org> files/haveged-init.d:
+ Make the init script provide the entropy service.
*haveged-1.01 (05 Jan 2011)
diff --git a/sys-apps/haveged/files/haveged-init.d b/sys-apps/haveged/files/haveged-init.d
index 0ad1df286ade..23806781a504 100644
--- a/sys-apps/haveged/files/haveged-init.d
+++ b/sys-apps/haveged/files/haveged-init.d
@@ -1,12 +1,16 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/haveged/files/haveged-init.d,v 1.1 2011/01/05 03:30:30 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/haveged/files/haveged-init.d,v 1.2 2011/04/08 01:50:53 flameeyes Exp $
DAEMON=haveged
HAVEGED_OPTS="-r 0 ${HAVEGED_OPTS}"
PIDFILE=/var/run/${DAEMON}.pid
+depend() {
+ provide entropy
+}
+
start() {
ebegin "Starting ${DAEMON}"
start-stop-daemon --start --quiet --exec "/usr/sbin/${DAEMON}" -- ${HAVEGED_OPTS}