summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2008-04-14 20:57:32 +0200
committerTill Maas <opensource@till.name>2008-04-14 20:57:32 +0200
commite9f88b34d75052bab78fe9747f5c90b9f0f4a02c (patch)
tree3ea2ab8ba168954c3e699d08655bccb761c0fe9f /pm
parente6219e13d19c741c24822da40e20d37b81b3be5a (diff)
- Mention "${PM_FUNCTIONS}" instead of harcoded 32bit path for functions file
Diffstat (limited to 'pm')
-rw-r--r--pm/HOWTO.hooks4
1 files changed, 2 insertions, 2 deletions
diff --git a/pm/HOWTO.hooks b/pm/HOWTO.hooks
index 4e6cebc..7beb1f2 100644
--- a/pm/HOWTO.hooks
+++ b/pm/HOWTO.hooks
@@ -39,8 +39,8 @@ For any given sleep/wakeup cycle, the hooks in sleep.d are run twice:
CONVENIENCE FUNCTIONS
If your hook is a shell script that supports POSIX/SuS compatible syntax, you
-MAY source /usr/lib/pm-utils/functions, which will make the following
-convenience functions available:
+MAY source "${PM_FUNCTIONS}". The variable will be set in the environment of
+the hook. This will make the following convenience functions available:
1: try_lock
try_lock expects a single parameter -- the name of the lock to
try to acquire. Exit code denotes success.