aboutsummaryrefslogtreecommitdiffstats
path: root/community/rng-tools/rngd.initd
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2019-04-25 15:43:10 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-01 06:40:45 +0000
commit812ef94384de98339248ed7728e0405e45d97675 (patch)
treefab785ea6213542041e94f8f7046abcce340e012 /community/rng-tools/rngd.initd
parentcad8e790ad795cf6614a3d57bb90e2ac08e063a2 (diff)
downloadaports-812ef94384de98339248ed7728e0405e45d97675.tar.bz2
aports-812ef94384de98339248ed7728e0405e45d97675.tar.xz
main/rng-tools: move from community
Maintaining the system entropy pool with a HWRNG is quite important on embedded devices (e.g. RPI3) and on virtual instances, due to that these systems generate very little entropy on their own. Starting rng-tools early in the boot of a system with a hwrng avoids that the Linux kernel "blocks" for a couple of minutes during boot, before any services using entropy can start. This package supports feeding the kernel entopy pool with random data from different sources, among these /dev/hwrng and the Intel rdrand instruction. The reason for moving it to main is that rng-tools for these reasons also will be beneficial to provide on the Alpine installer media.
Diffstat (limited to 'community/rng-tools/rngd.initd')
-rw-r--r--community/rng-tools/rngd.initd14
1 files changed, 0 insertions, 14 deletions
diff --git a/community/rng-tools/rngd.initd b/community/rng-tools/rngd.initd
deleted file mode 100644
index 92ca90aa35..0000000000
--- a/community/rng-tools/rngd.initd
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/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
-}