aboutsummaryrefslogtreecommitdiffstats
path: root/community/rng-tools/rngd.initd
blob: b91412ddf80b69d2d536a1a10f1e4fb4514890c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run

name="rngd"
command="/usr/sbin/${name}"
command_args="-f ${RNGD_OPTS}"
command_background="yes"
start_stop_daemon_args="--wait 5"
pidfile="/var/run/${name}.pid"

depend() {
        need localmount
        after urandom
        provide entropy
}