freebsd-nq/etc/rc.pccard
Tatsumi Hosokawa 8076c80767 Added pccard_conf parameter to /etc/rc.conf,
and set it to "/etc/pccard.conf.sample" in /etc/defaults/rc.conf.
Perhaps this default value can be inappropriate,
but I set to this value for the convenience of PC-card boot.flp users.
Please correct it if there are better solutions.
1999-07-07 01:19:15 +00:00

21 lines
481 B
Bash

#!/bin/sh -
#
# PC-card startup script
# HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
#
# $Id: rc.pccard,v 1.12 1999/05/05 19:34:29 markm Exp $
#
if [ "X$pccard_enable" = X"YES" ] ; then
if [ "x$pccard_mem" != "xDEFAULT" ] ; then
pccardc pccardmem $pccard_mem
else
pccardc pccardmem 0xd0000
fi
if [ "X$pccard_conf" != "X" ] ; then
pccardd_flags="$pccardd_flags -f $pccard_conf"
fi
echo -n "Enable PC-card."
pccardd $pccardd_flags 2>&1 > /var/log/pccardd.debug &
fi