mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
a237895d7e
PC-card stuff. Also print a NEWLINE (!!) after that. I'm driving mad each time when I see messages related to pccard before "Enable PC-card." and particulary when I see "Doing initial network setup". on the same line w/o a break.
29 lines
478 B
Bash
29 lines
478 B
Bash
#!/bin/sh -
|
|
# PC-card startup script
|
|
# $FreeBSD$
|
|
|
|
case ${pccard_enable} in
|
|
[Yy][Ee][Ss])
|
|
echo "Enable PC-card."
|
|
|
|
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
|
|
|
|
pccardd ${pccardd_flags} 2>&1 > /var/log/pccardd.debug
|
|
;;
|
|
esac
|