mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
17 lines
386 B
Bash
17 lines
386 B
Bash
#!/bin/sh -
|
|
# PC-card startup script
|
|
# $FreeBSD$
|
|
|
|
if [ "${pccard_enable}" = "YES" ] ; then
|
|
if [ "${pccard_mem}" != "DEFAULT" ] ; then
|
|
pccardc pccardmem ${pccard_mem}
|
|
else
|
|
pccardc pccardmem 0xd0000
|
|
fi
|
|
if [ -n "${pccard_conf}" ] ; then
|
|
pccardd_flags="${pccardd_flags} -f ${pccard_conf}"
|
|
fi
|
|
echo -n "Enable PC-card."
|
|
pccardd ${pccardd_flags} 2>&1 > /var/log/pccardd.debug
|
|
fi
|