aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/pccard
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1996-03-14 18:24:07 +0000
committerNate Williams <nate@FreeBSD.org>1996-03-14 18:24:07 +0000
commitd867405fbec27e6038d1c8715da04539e3d2db49 (patch)
tree73a03e8d6ead18bffd716dc39e5a2e5ec61cef69 /etc/rc.d/pccard
parent49fa849bc864ef561e26857dc5446c2882d4865f (diff)
downloadsrc-d867405fbec27e6038d1c8715da04539e3d2db49.tar.gz
src-d867405fbec27e6038d1c8715da04539e3d2db49.zip
Notes
Diffstat (limited to 'etc/rc.d/pccard')
-rw-r--r--etc/rc.d/pccard20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/rc.d/pccard b/etc/rc.d/pccard
new file mode 100644
index 000000000000..597e89450ef6
--- /dev/null
+++ b/etc/rc.d/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