mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
b11b638301
Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)
27 lines
480 B
Bash
27 lines
480 B
Bash
#!/bin/sh -
|
|
# PC-card startup script
|
|
# $FreeBSD$
|
|
|
|
case ${pccard_enable} in
|
|
[Yy][Ee][Ss])
|
|
case ${pccard_mem} in
|
|
[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
|
|
pccardc pccardmem 0xd0000
|
|
;;
|
|
*)
|
|
pccardc pccardmem ${pccard_mem}
|
|
;;
|
|
esac
|
|
|
|
if [ -n "${pccard_beep}" ] ; then
|
|
pccardc beep ${pccard_beep}
|
|
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
|
|
;;
|
|
esac
|