summaryrefslogtreecommitdiffstats
path: root/etc/rc.pccard
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-03-14 18:24:07 +0000
committernate <nate@FreeBSD.org>1996-03-14 18:24:07 +0000
commit36dc90ccd84a554a2f30cad4f4506746f345cafe (patch)
tree73a03e8d6ead18bffd716dc39e5a2e5ec61cef69 /etc/rc.pccard
parentfac8f2c92271b1198714685037e3dbf30a2e1e44 (diff)
downloadFreeBSD-src-36dc90ccd84a554a2f30cad4f4506746f345cafe.zip
FreeBSD-src-36dc90ccd84a554a2f30cad4f4506746f345cafe.tar.gz
Renamed the relevant PC-Card support files to reflect the newest release.
Diffstat (limited to 'etc/rc.pccard')
-rw-r--r--etc/rc.pccard20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/rc.pccard b/etc/rc.pccard
new file mode 100644
index 0000000..597e894
--- /dev/null
+++ b/etc/rc.pccard
@@ -0,0 +1,20 @@
+#!/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
OpenPOWER on IntegriCloud