diff options
author | Peter Jones <pjones@redhat.com> | 2006-10-21 19:47:02 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2006-10-21 19:47:02 +0000 |
commit | f1697c420ad54a9ba5f09d8aa35c191452887f8d (patch) | |
tree | a12c3fa4dc4833323b83f62da7b23be90faf2e0b /pm | |
parent | 703a54dd5fc315791e85e78f72582867fe677dc4 (diff) |
- use modprobe -r, not rmmod
Diffstat (limited to 'pm')
-rwxr-xr-x | pm/functions | 2 |
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 |