Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 116580 Details for
Bug 174835
sys-power/hibernate-script: change from `rmmod` to `modprobe -r`
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/home/jkt/hibernate-script.patch
hibernate-script.patch (text/plain), 820 bytes, created by
Jan Kundrát (RETIRED)
on 2007-04-18 00:06:14 UTC
(
hide
)
Description:
/home/jkt/hibernate-script.patch
Filename:
MIME Type:
Creator:
Jan Kundrát (RETIRED)
Created:
2007-04-18 00:06:14 UTC
Size:
820 bytes
patch
obsolete
>--- /usr/share/hibernate/modules.orig 2006-11-25 23:24:48.000000000 +0100 >+++ /usr/share/hibernate/scriptlets.d/modules 2007-02-28 11:23:35.770358526 +0100 >@@ -64,7 +64,7 @@ > continue > fi > >- if rmmod `FindModuleDeps $mod` > /dev/null 2>&1 ; then >+ if modprobe -r `FindModuleDeps $mod` > /dev/null 2>&1 ; then > vecho 2 > else > ret=1 >@@ -106,7 +106,7 @@ > ;; > *) > vecho 2 "Unloading module $module..." >- rmmod $module && MOD_UNLOADED="$MOD_UNLOADED $module" >+ modprobe -r $module && MOD_UNLOADED="$MOD_UNLOADED $module" > ;; > esac > done >@@ -233,7 +233,7 @@ > local i > for i in $deps ; do > vecho 3 "Unloading $i ..." >- if rmmod $i > /dev/null 2>&1 ; then >+ if modprobe -r $i > /dev/null 2>&1 ; then > MOD_UNLOADED="$MOD_UNLOADED $i" > else > failedmods="$failedmods $i"
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 174835
: 116580 |
116830