From 3aa4b0d47ea2a6f14d365d5b24467c2adf3360d6 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 8 Apr 2011 01:50:53 +0000 Subject: Make the init script provide the entropy service. (Portage version: 2.2.0_alpha29/cvs/Linux x86_64) --- sys-apps/haveged/ChangeLog | 5 ++++- sys-apps/haveged/files/haveged-init.d | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'sys-apps/haveged') 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ò 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} -- cgit v1.2.3-65-gdbad