Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 3262 Details for
Bug 6838
making pcmcia rc script probe yenta/i82365 automatically
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/init.d/pcmcia update
pcmcia.rc.diff (text/plain), 652 bytes, created by
Alastair Tse (RETIRED)
on 2002-08-21 11:09:40 UTC
(
hide
)
Description:
/etc/init.d/pcmcia update
Filename:
MIME Type:
Creator:
Alastair Tse (RETIRED)
Created:
2002-08-21 11:09:40 UTC
Size:
652 bytes
patch
obsolete
>--- pcmcia.rc6 Thu Aug 22 02:04:01 2002 >+++ pcmcia Thu Aug 22 02:04:44 2002 >@@ -32,8 +32,11 @@ > if [ -d /var/lib/pcmcia ] ; then > rm -rf /var/lib/pcmcia > fi >- >+ >+ # if no ds modules are loaded, then we do it for them > if [ -z "`fgrep ds /proc/modules`" ] ; then >+ modprobe ${PCIC} >+ modprobe ds > modules_loaded="0" > else > modules_loaded="1" >@@ -54,6 +57,12 @@ > > ebegin "Stopping pcmcia" > start-stop-daemon --stop --quiet --pidfile /var/run/cardmgr.pid --retry 5 >+ # remove these modules if they're not used >+ if [ -n "`fgrep ds /proc/modules`" ] ; then >+ modprobe -r ds >+ modprobe -r ${PCIC} >+ fi >+ > eend $? > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 6838
: 3262 |
3263