- Mixup of kldstat arguments. Use '-i 1' instead of '-n 1' when checking

for the PCIC module in the kernel.

{ I promise this is the last commit! }

Submitted by:	"Sean O'Connell" <sean@stat.Duke.EDU>
This commit is contained in:
Nate Williams 1999-03-17 21:57:00 +00:00
parent 265bb91203
commit 73f4b721ae
2 changed files with 4 additions and 4 deletions

View File

@ -3,11 +3,11 @@
# PC-card startup script
# HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
#
# $Id: rc.pccard,v 1.8 1999/03/17 17:39:50 nate Exp $
# $Id: rc.pccard,v 1.9 1999/03/17 20:57:40 nate Exp $
#
if [ "X$pccard_enable" = X"YES" ] ; then
builtin=`kldstat -v -n 1 | grep pcic | awk '{print $2}'`
builtin=`kldstat -v -i 1 | grep pcic | awk '{print $2}'`
if [ "$builtin" = "pcic" ] ; then
echo "PCIC module compiled in"
else

View File

@ -3,11 +3,11 @@
# PC-card startup script
# HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
#
# $Id: rc.pccard,v 1.8 1999/03/17 17:39:50 nate Exp $
# $Id: rc.pccard,v 1.9 1999/03/17 20:57:40 nate Exp $
#
if [ "X$pccard_enable" = X"YES" ] ; then
builtin=`kldstat -v -n 1 | grep pcic | awk '{print $2}'`
builtin=`kldstat -v -i 1 | grep pcic | awk '{print $2}'`
if [ "$builtin" = "pcic" ] ; then
echo "PCIC module compiled in"
else