* app-crypt/ekeyd: Add
[portage-overlay.git] / app-crypt / ekeyd / files / ekey-egd-linux.init.2
1 #!/sbin/runscript
2 # Copyright 1999-2011 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/app-crypt/ekeyd/files/ekey-egd-linux.init.2,v 1.1 2011/10/20 11:40:27 flameeyes Exp $
5
6 : ${HOST:=localhost}
7 : ${PORT:=8888}
8 : ${RECONNECTINTERVAL:=10}
9 : ${BLOCKS:=2}
10
11 description="EntropyKey EGD client"
12
13 pidfile=/var/run/$SVCNAME.pid
14
15 command=/usr/libexec/ekey-egd-linux
16 command_args="-H ${HOST} -p ${PORT} -r ${RECONNECTINTERVAL} -b ${BLOCKS} -D ${pidfile}"
17
18 depend() {
19          use net
20          after ekeyd
21
22          provide entropy
23 }