Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
pm-utils
pm-utils-dont-fail-modunload-silently.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pm-utils-dont-fail-modunload-silently.diff of Package pm-utils
Author: Stefan Seyfried <seife+obs@b1-systems.com> Date: 2012-10-21 Upstream: not yet. Don't fail modunload silently, the inhibit file should contain a reason *why* it was created. This would have helped finding the "fix" for https://bugzilla.novell.com/show_bug.cgi?id=633491 :-) diff --git a/pm/sleep.d/75modules b/pm/sleep.d/75modules index 6555466..c02da38 100755 --- a/pm/sleep.d/75modules +++ b/pm/sleep.d/75modules @@ -8,7 +8,7 @@ suspend_modules() [ -z "$SUSPEND_MODULES" ] && return $NA for x in $SUSPEND_MODULES ; do printf "Unloading kernel module %s..." "$x" - modunload $x && echo Done. || { touch $INHIBIT; echo Failed.; } + modunload $x && echo Done. || { inhibit "Unloading kernel module $x failed."; echo Failed.; } done return 0 }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor