summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
Diffstat (limited to 'pm')
-rw-r--r--pm/HOWTO.modules6
1 files changed, 6 insertions, 0 deletions
diff --git a/pm/HOWTO.modules b/pm/HOWTO.modules
index 3cecdcd..0237d0e 100644
--- a/pm/HOWTO.modules
+++ b/pm/HOWTO.modules
@@ -52,3 +52,9 @@ define 2 functions:
suspend_hybrid sleep.
do_suspend_hybrid SHOULD utilize hibernate_might_work if it is present.
+
+OTHER STUFF:
+
+If you define a function named "before_hook", that function will be executed
+just before the sleep/resume hooks are executed. If you need to disable a hook,
+this is the place to do it.