summaryrefslogtreecommitdiffstats
path: root/etc/rc.pccard
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.pccard')
-rw-r--r--etc/rc.pccard11
1 files changed, 8 insertions, 3 deletions
diff --git a/etc/rc.pccard b/etc/rc.pccard
index 7306e7d..1402081 100644
--- a/etc/rc.pccard
+++ b/etc/rc.pccard
@@ -3,12 +3,17 @@
# PC-card startup script
# HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
#
-# $Id: rc.pccard,v 1.6 1998/08/10 19:54:12 brian Exp $
+# $Id: rc.pccard,v 1.7 1999/02/04 10:06:44 markm Exp $
#
if [ "X$pccard_enable" = X"YES" ] ; then
- if kldload pcic; then
- echo "Kernel pcic module loaded."
+ builtin=`kldstat -v -n 1 | grep pcic | awk '{print $2}'`
+ if [ $builtin = 'pcic' ] ; then
+ echo "PCIC module compiled in"
+ else
+ if kldload pcic; then
+ echo "Kernel pcic module loaded."
+ fi
fi
if [ "x$pccard_mem" != "xDEFAULT" ] ; then
pccardc pccardmem $pccard_mem
OpenPOWER on IntegriCloud