1996-03-12 15:39:26 +00:00
|
|
|
#!/bin/sh -
|
1999-07-07 02:26:55 +01:00
|
|
|
# PC-card startup script
|
1999-08-28 00:37:10 +01:00
|
|
|
# $FreeBSD$
|
1996-03-12 15:39:26 +00:00
|
|
|
|
1999-08-25 17:01:45 +01:00
|
|
|
if [ "${pccard_enable}" = "YES" ] ; then
|
|
|
|
if [ "${pccard_mem}" != "DEFAULT" ] ; then
|
|
|
|
pccardc pccardmem ${pccard_mem}
|
1996-03-12 15:39:26 +00:00
|
|
|
else
|
1997-04-27 04:59:19 +01:00
|
|
|
pccardc pccardmem 0xd0000
|
1996-03-12 15:39:26 +00:00
|
|
|
fi
|
1999-08-25 17:01:45 +01:00
|
|
|
if [ -n "${pccard_conf}" ] ; then
|
|
|
|
pccardd_flags="${pccardd_flags} -f ${pccard_conf}"
|
1999-07-07 02:19:15 +01:00
|
|
|
fi
|
1997-05-03 12:22:17 +01:00
|
|
|
echo -n "Enable PC-card."
|
1999-08-25 17:01:45 +01:00
|
|
|
pccardd ${pccardd_flags} 2>&1 > /var/log/pccardd.debug
|
1996-03-12 15:39:26 +00:00
|
|
|
fi
|