summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/pccard
blob: 06b42105d61e76e2520345f8f59e6cb8c38b659e (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" = X"YES" ] ; then
	echo "Enable APM BIOS."
	apmconf -e
fi

if [ "X$pccard_enable" = X"YES" ] ; then
	if [ "x$pccard_mem" != "xDEFAULT" ] ; then
		pccardc pccardmem $pccard_mem
	else
		pccardc pccardmem 0xd0000
	fi
	echo "Enable PC-card." 
	pccardd &
fi
OpenPOWER on IntegriCloud