summaryrefslogtreecommitdiff
path: root/pcr/openrc-misc/haveged-init.d.3
blob: d43447d118f3baa8b2d071887e80a6f87d51bece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/runscript
# Copyright 1999-2013 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.3,v 1.1 2013/01/25 16:58:06 flameeyes Exp $

pidfile=/run/${SVCNAME}.pid

command="/usr/sbin/${SVCNAME}"
command_args="-r 0 ${HAVEGED_OPTS} -p ${pidfile}"

depend() {
	need localmount
	use logger
	provide entropy
}

# vim:ft=gentoo-init-d: