diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-01-30 18:52:11 -0600 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-01-30 18:52:11 -0600 |
commit | 5d1e6ad771b709bcbeb67b9c165160b95ab0dc0f (patch) | |
tree | 1b66428af5fa5407ffcceacb4f417c4e858c1b42 /pm/HOWTO.hooks | |
parent | f2746047eefdd3a95bc781436e809721c65f6fa6 (diff) |
Spelling fixes in HOWTO.hooks.
Diffstat (limited to 'pm/HOWTO.hooks')
-rw-r--r-- | pm/HOWTO.hooks | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pm/HOWTO.hooks b/pm/HOWTO.hooks index dfefe57..482af72 100644 --- a/pm/HOWTO.hooks +++ b/pm/HOWTO.hooks @@ -33,15 +33,15 @@ If a hook does not need to be run when waking up, it SHOULD return a non-zero exit code -- this will signal the hook-running infrastructure to skip that hook when waking up. -Similarly, if your hook only needs to run on system with certian specific +Similarly, if your hook only needs to run on system with certain specific configurations (such as the (0|9)5led hooks, which are IBM specific), -or relies on certian specific commands that are not guaranteed to be present +or relies on certain specific commands that are not guaranteed to be present (such as the 10NetworkManager hook, which relies on D-Bus and Network Manager both being present), you SHOULD test for those conditions first and you SHOULD return a non-zero exit code if your hook is not applicable to the system it is running on. -CONVIENENCE FUNCTIONS +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 perform the following @@ -49,7 +49,7 @@ actions: 1: All settings present in the files located in /etc/pm/config.d/ will be available as environment variables. -2: The following convienence functions will be made available: +2: The following convenience functions will be made available: 1: try_lock 2: spin_lock 3: release_lock |