From e9f88b34d75052bab78fe9747f5c90b9f0f4a02c Mon Sep 17 00:00:00 2001 From: Till Maas Date: Mon, 14 Apr 2008 20:57:32 +0200 Subject: - Mention "${PM_FUNCTIONS}" instead of harcoded 32bit path for functions file --- pm/HOWTO.hooks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pm') 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. -- cgit v1.2.3