HardenedBSD/etc/rc.pccard

24 lines
410 B
Plaintext
Raw Normal View History

#!/bin/sh -
# PC-card startup script
1999-08-28 01:37:10 +02:00
# $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_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