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.
This commit is contained in:
parent
d40e02b32d
commit
8076c80767
@ -9,7 +9,7 @@
|
||||
#
|
||||
# All arguments must be in double or single quotes.
|
||||
#
|
||||
# $Id: rc.conf,v 1.13 1999/06/28 04:09:14 obrien Exp $
|
||||
# $Id: rc.conf,v 1.14 1999/07/04 14:41:20 hosokawa Exp $
|
||||
|
||||
##############################################################
|
||||
### Important initial Boot-time options ####################
|
||||
@ -21,6 +21,7 @@ pccard_enable="NO" # Set to YES if you want to configure PCCARD devices.
|
||||
pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address.
|
||||
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO).
|
||||
pccardd_flags="" # Additional flags for pccardd.
|
||||
pccard_conf="/etc/pccard.conf.sample" # pccardd(8) config file
|
||||
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
|
||||
local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic" # periodic script dirs
|
||||
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
|
||||
|
@ -12,6 +12,9 @@ if [ "X$pccard_enable" = X"YES" ] ; then
|
||||
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
|
||||
|
@ -12,6 +12,9 @@ if [ "X$pccard_enable" = X"YES" ] ; then
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user