fix rndcontrol invocation.. rndcontrol has the irq after a -s switch, not

just the next argument.  We really need to be able to tag drivers with
their randomness "suitability" so that this can be more automatic.  It
would be nice if all suitable drivers registered their irq automatically,
but still allowed them to be turned on/off etc.
This commit is contained in:
Peter Wemm 1997-07-06 07:19:14 +00:00
parent aac7bd5670
commit 0c3af3413e
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.i386,v 1.27 1997/05/27 07:17:12 jkh Exp $
# $Id: rc.i386,v 1.28 1997/06/02 06:43:52 markm 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 ${irq}
echo -n " ${irq}" && rndcontrol -q -s ${irq}
done
echo '.'
fi

View file

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.i386,v 1.27 1997/05/27 07:17:12 jkh Exp $
# $Id: rc.i386,v 1.28 1997/06/02 06:43:52 markm 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 ${irq}
echo -n " ${irq}" && rndcontrol -q -s ${irq}
done
echo '.'
fi