diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-03-19 21:09:40 -0500 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-03-19 21:09:40 -0500 |
commit | 0129bc69e33523c9746a44fb4a78e25579acecb8 (patch) | |
tree | 7bb39c0efec4a56d5ea9ad645405917dcd24d1d9 /README | |
parent | 174f1430e76dfcf9d45e6d44422a47c2e2bba369 (diff) |
Make the hook blacklist and parameter overrides use env. variables.
This came about after a long discussion with mbiebl on the best way to
configure settings in pm-utils.
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -48,16 +48,19 @@ How do "hooks" work? End-user customization: * If a particular hook is causing problems on your system, you can disable it - by adding its name to /etc/pm/blacklist + using the HOOK_BLACKLIST environment variable.by creating a file in + /etc/pm/config.d and adding the line: + HOOK_BLACKLIST="hookname 99another-hook" * To find out what parameters can be passed to pm-suspend and friends, run them with '--help' as the first parameter as root. This will print out the options that it supports and which hooks or modules handle those options. * If a parameter (or lack thereof) passed to pm-suspend and friends is causing problems, or you need to debug the suspend/resume process to work out what - quirks are causing problems, you can use /etc/pm/parameters to override - the hooks passed by HAL. Specifically: - * "add --parameter" will add --parameter to the list of parameters. - * "drop --parameter" will remove --parameter from the list of parameters. + quirks are causing problems, you can use the ADD_PARAMETERS and + DROP_PARAMETERS environment variables. To do this, create a file in + /etc/pm/config.d, and add the following lines to it: + ADD_PARAMETERS="--parameter-to-add --another-paramater" + DROP_PARAMETERS="--parameter-to-drop --another-parameter-to-drop" That's it! |