1996-03-12 16:39:26 +01:00
|
|
|
#!/bin/sh -
|
1999-07-07 03:26:55 +02:00
|
|
|
# PC-card startup script
|
1999-07-26 03:08:16 +02:00
|
|
|
# $Id: rc.pccard,v 1.15 1999/07/07 01:26:55 hosokawa Exp $
|
1996-03-12 16:39:26 +01:00
|
|
|
|
1997-04-27 05:59:19 +02:00
|
|
|
if [ "X$pccard_enable" = X"YES" ] ; then
|
1996-03-14 19:24:07 +01:00
|
|
|
if [ "x$pccard_mem" != "xDEFAULT" ] ; then
|
1997-04-27 05:59:19 +02:00
|
|
|
pccardc pccardmem $pccard_mem
|
1996-03-12 16:39:26 +01:00
|
|
|
else
|
1997-04-27 05:59:19 +02:00
|
|
|
pccardc pccardmem 0xd0000
|
1996-03-12 16:39:26 +01:00
|
|
|
fi
|
1999-07-07 03:19:15 +02:00
|
|
|
if [ "X$pccard_conf" != "X" ] ; then
|
|
|
|
pccardd_flags="$pccardd_flags -f $pccard_conf"
|
|
|
|
fi
|
1997-05-03 13:22:17 +02:00
|
|
|
echo -n "Enable PC-card."
|
1999-07-26 03:08:16 +02:00
|
|
|
pccardd $pccardd_flags 2>&1 > /var/log/pccardd.debug
|
1996-03-12 16:39:26 +01:00
|
|
|
fi
|