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

description="Random number generator daemon"

pidfile="/run/$RC_SVCNAME.pid"
command="/usr/sbin/rngd"
command_args="--quiet --background --pid-file $pidfile $RNGD_OPTS"
start_stop_daemon_args="--wait 5"

depend() {
	need localmount
	after urandom
	provide entropy
}