freebsd-dev/etc/rc.d/pccard

21 lines
437 B
Plaintext
Raw Normal View History

#!/bin/sh -
#
# 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 $
1998-08-10 19:54:12 +00:00
#
if [ "X$pccard_enable" = X"YES" ] ; then
if kldload pcic; then
echo "Kernel pcic module loaded."
fi
if [ "x$pccard_mem" != "xDEFAULT" ] ; then
pccardc pccardmem $pccard_mem
else
pccardc pccardmem 0xd0000
fi
echo -n "Enable PC-card."
pccardd 2>&1 > /var/log/pccardd.debug &
fi