You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
456 B
23 lines
456 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
: ${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
|
|
}
|