summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-13 10:02:51 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-03-13 10:02:51 -0500
commit0234380da899b2ae52ab5d88dde9914c6f1e3170 (patch)
treece4876fe4a98578f26c4e173724fe5d57b7c5015
parent44cbf065577bbe9ae9ffc783895cbe45f42c3f13 (diff)
parent8626bbd7551f8342abc7536899f55f49fd0820e9 (diff)
Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parameters
-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.