Correct the way IRQs are passed to rndcontrol. If there are more than

one IRQ being used, the -s options must be specified for each of them.
In this case rc.conf would only allow 1, as the -s was coded into
rc.i386.
This commit is contained in:
Mark Murray 1997-06-02 06:43:52 +00:00
parent c263cc2165
commit c8ef8908eb
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.i386,v 1.26 1997/05/19 07:46:51 jkh Exp $
# $Id: rc.i386,v 1.27 1997/05/27 07:17:12 jkh Exp $
# Do i386 specific processing
#
@ -109,7 +109,7 @@ echo '.'
if [ "X${rand_irqs}" != X"NO" ] ; then
echo -n 'entropy IRQs:'
for irq in ${rand_irqs}; do
echo -n " ${irq}" && rndcontrol -q -s ${irq}
echo -n " ${irq}" && rndcontrol -q ${irq}
done
echo '.'
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.i386,v 1.26 1997/05/19 07:46:51 jkh Exp $
# $Id: rc.i386,v 1.27 1997/05/27 07:17:12 jkh Exp $
# Do i386 specific processing
#
@ -109,7 +109,7 @@ echo '.'
if [ "X${rand_irqs}" != X"NO" ] ; then
echo -n 'entropy IRQs:'
for irq in ${rand_irqs}; do
echo -n " ${irq}" && rndcontrol -q -s ${irq}
echo -n " ${irq}" && rndcontrol -q ${irq}
done
echo '.'
fi

View File

@ -6,7 +6,7 @@
#
# All arguments must be in double or single quotes.
#
# $Id: rc.conf,v 1.15 1997/05/24 11:31:56 jkh Exp $
# $Id: rc.conf,v 1.16 1997/06/02 02:58:08 jkh Exp $
##############################################################
### Important initial Boot-time options #####################
@ -126,7 +126,7 @@ check_quotas="NO" # Check quotas (or NO).
accounting_enable="NO" # Turn on process accounting (or NO).
ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO).
linux_enable="NO" # Linux emulation loaded at startup (or NO).
rand_irqs="NO" # Stir the entropy pool (or NO).
rand_irqs="NO" # Stir the entropy pool (like -s5 -s11 or NO).
##############################################################
### Allow local configuration override at the very end here ##