Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 6838 | Differences between
and this patch

Collapse All | Expand All

(-)pcmcia.rc6 (-1 / +10 lines)
Lines 32-39 Link Here
32
	if [ -d /var/lib/pcmcia ] ; then
32
	if [ -d /var/lib/pcmcia ] ; then
33
		rm -rf /var/lib/pcmcia
33
		rm -rf /var/lib/pcmcia
34
	fi
34
	fi
35
35
	
36
	# if no ds modules are loaded, then we do it for them
36
	if [ -z "`fgrep  ds /proc/modules`" ] ; then
37
	if [ -z "`fgrep  ds /proc/modules`" ] ; then
38
	     	modprobe ${PCIC}
39
		modprobe ds
37
		modules_loaded="0"
40
		modules_loaded="0"
38
	else 
41
	else 
39
		modules_loaded="1"
42
		modules_loaded="1"
Lines 54-59 Link Here
54
57
55
	ebegin "Stopping pcmcia"
58
	ebegin "Stopping pcmcia"
56
	start-stop-daemon --stop --quiet --pidfile /var/run/cardmgr.pid --retry 5
59
	start-stop-daemon --stop --quiet --pidfile /var/run/cardmgr.pid --retry 5
60
	# remove these modules if they're not used
61
	if [ -n "`fgrep  ds /proc/modules`" ] ; then
62
	   modprobe -r ds 
63
	   modprobe -r ${PCIC}
64
        fi
65
57
	eend $?
66
	eend $?
58
}
67
}
59
68

Return to bug 6838