sys-apps/rng-tools: remove unused lines from the init script.
authorGokturk Yuksek <gokturk@binghamton.edu>
Tue, 22 Sep 2015 09:23:57 +0000 (05:23 -0400)
committerGokturk Yuksek <gokturk@binghamton.edu>
Thu, 1 Oct 2015 08:07:18 +0000 (04:07 -0400)
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

index 1e63c847d3708b4d033180617b10c85ceb173603..d7f8a86631e2556e11d59a0185e128b035e644c1 100644 (file)
@@ -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} \