blob: 25ab16feafe65585ec0bb679afe9f4cacaea9f7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/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
|