summaryrefslogtreecommitdiff
blob: c843d19e1171ccb8d298c690858ef4490b43cb2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

: ${HOST:=localhost}
: ${PORT:=8888}
: ${RECONNECTINTERVAL:=10}
: ${BLOCKS:=2}

description="EntropyKey EGD client"

pidfile=/var/run/$SVCNAME.pid

command=/usr/libexec/ekey-egd-linux
command_args="-H ${HOST} -p ${PORT} -r ${RECONNECTINTERVAL} -b ${BLOCKS} -D ${pidfile}"

depend() {
	 use net
	 after ekeyd

	 provide entropy
}