mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 06:52:45 +00:00
21 lines
436 B
Bash
21 lines
436 B
Bash
#!/bin/sh -
|
|
#
|
|
# PC-card startup script
|
|
# HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
|
|
#
|
|
|
|
if [ "x$apm_enable" = "xYES" ] ; then
|
|
echo "Enable APM BIOS."
|
|
/usr/sbin/apmconf -e
|
|
fi
|
|
|
|
if [ "x$pccard_enable" != "xNO" ] ; then
|
|
if [ "x$pccard_mem" != "xDEFAULT" ] ; then
|
|
/usr/sbin/pccardc pccardmem $pccard_mem
|
|
else
|
|
/usr/sbin/pccardc pccardmem 0xd0000
|
|
fi
|
|
echo -n "Enable PC-card."
|
|
/usr/sbin/pccardd 2>&1 > /var/log/pccardd.debug &
|
|
fi
|