From: Gokturk Yuksek Date: Tue, 22 Sep 2015 09:23:57 +0000 (-0400) Subject: sys-apps/rng-tools: remove unused lines from the init script. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=084219c4ac808936462e483603ae67127e56b303;p=gentoo.git 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 --- 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} \