summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/pccard
blob: 341e73337c4b88f894fdbd9d1a3814baba184cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 "Enable PC-card." 
	/usr/sbin/pccardd &
fi
OpenPOWER on IntegriCloud