From 084219c4ac808936462e483603ae67127e56b303 Mon Sep 17 00:00:00 2001 From: Gokturk Yuksek Date: Tue, 22 Sep 2015 05:23:57 -0400 Subject: [PATCH] sys-apps/rng-tools: remove unused lines from the init script. rngd-initd-r1-4.1 has been created as a result of the patch proposed for bug 481254. However, one chunk has been missed and did not make it to the commit. The variable DEFAULT_DEVICE isn't used by the init script. Remove the related lines from the script. Package-Manager: portage-2.2.20.1 --- sys-apps/rng-tools/files/rngd-initd-r1-4.1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys-apps/rng-tools/files/rngd-initd-r1-4.1 b/sys-apps/rng-tools/files/rngd-initd-r1-4.1 index 1e63c847d370..d7f8a86631e2 100644 --- a/sys-apps/rng-tools/files/rngd-initd-r1-4.1 +++ b/sys-apps/rng-tools/files/rngd-initd-r1-4.1 @@ -9,9 +9,6 @@ depend() { provide entropy } -# Do NOT add /dev/tpm to this. -DEFAULT_DEVICE="/dev/hw_random* /dev/hwrandom* /dev/i810_rng /dev/hwrng*" - command=/usr/sbin/rngd pidfile="/var/run/${SVCNAME}.pid" command_args="--pid-file ${pidfile} --background --random-step ${STEP:-64} ${NO_TPM:+--no-tpm=1} \ -- 2.26.2