From cceb2049b4529c9f883e5bd7880caf0807093e26 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 13 Nov 1995 21:33:04 +0000 Subject: [PATCH] OOps, nearly missed this bit. Add the call to rndcontrol to set the chosen interrupts for the entropy gathering in /dev/random. --- etc/etc.amd64/rc.amd64 | 8 +++++++- etc/etc.i386/rc.i386 | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/etc/etc.amd64/rc.amd64 b/etc/etc.amd64/rc.amd64 index 48d0861f2bd4..5b58b92e23cf 100644 --- a/etc/etc.amd64/rc.amd64 +++ b/etc/etc.amd64/rc.amd64 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.i386,v 1.10 1995/07/17 20:07:47 rgrimes Exp $ +# $Id: rc.i386,v 1.11 1995/10/28 12:44:13 peter Exp $ # Do i386 specific processing # @@ -108,4 +108,10 @@ if [ "X${saver}" != X"NO" ] ; then ${saver}_saver_mod -q /lkm/${saver}_saver_mod.o fi +# interrupts for /dev/random device +if [ "X${rand_irqs}" != X"NO" ] ; then + echo -n ' entropy source: ' + rndcontrol X${rand_irqs} +fi + echo '.' diff --git a/etc/etc.i386/rc.i386 b/etc/etc.i386/rc.i386 index 48d0861f2bd4..5b58b92e23cf 100644 --- a/etc/etc.i386/rc.i386 +++ b/etc/etc.i386/rc.i386 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.i386,v 1.10 1995/07/17 20:07:47 rgrimes Exp $ +# $Id: rc.i386,v 1.11 1995/10/28 12:44:13 peter Exp $ # Do i386 specific processing # @@ -108,4 +108,10 @@ if [ "X${saver}" != X"NO" ] ; then ${saver}_saver_mod -q /lkm/${saver}_saver_mod.o fi +# interrupts for /dev/random device +if [ "X${rand_irqs}" != X"NO" ] ; then + echo -n ' entropy source: ' + rndcontrol X${rand_irqs} +fi + echo '.'