summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-10-21 19:47:02 +0000
committerPeter Jones <pjones@redhat.com>2006-10-21 19:47:02 +0000
commitf1697c420ad54a9ba5f09d8aa35c191452887f8d (patch)
treea12c3fa4dc4833323b83f62da7b23be90faf2e0b /pm
parent703a54dd5fc315791e85e78f72582867fe677dc4 (diff)
- use modprobe -r, not rmmod
Diffstat (limited to 'pm')
-rwxr-xr-xpm/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/functions b/pm/functions
index 830fd2e..0a44b8d 100755
--- a/pm/functions
+++ b/pm/functions
@@ -141,7 +141,7 @@ pm_main()
}
_rmmod() {
- if rmmod $1; then
+ if modprobe -r $1; then
echo "export RESUME_MODULES=\"$1 \$RESUME_MODULES\"" \
>> /var/run/pm-suspend
return 0