summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-01-28 20:02:53 +0000
committerRichard Hughes <richard@hughsie.com>2008-01-28 20:02:53 +0000
commitb60758f2b8f25dffab5aa74547c8c6cdf0d3eca1 (patch)
tree0792ec124c8919ea295fc47eb4d4037967f69a99
parent1bc5e0cff57d33580bd07334dae5d4cb5c260e18 (diff)
Minor updates to README -- /etc/pm/hooks has not existed in a long time.
-rw-r--r--README8
1 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 69cdf3b..5d20b6d 100644
--- a/README
+++ b/README
@@ -26,7 +26,7 @@ file into the hooks directory, for example:
How do "hooks" work?
-* You put a file in /etc/pm/hooks, which is executable. When suspend or
+* You put an executable file in /etc/pm/sleep.d. When suspend or
hibernate is called, several things happen:
1) a new virtual terminal is alloced and switched to
@@ -34,9 +34,9 @@ How do "hooks" work?
modified by end-users.
3) /etc/pm/config.d/* are evaluated in C sort order. These files can be
provided by individual packages outside of pm-utils. If a global config
- variable is set, the value set to will be appended to the previous value.
+ variable is set, the value set to will overwrite the previous value.
If any other variable is set, it will be ignored.
- 4) each of /etc/pm/hooks/* are executed in C sort order. The first command
+ 4) each of /etc/pm/sleep.d/* are executed in C sort order. The first command
line argument is "suspend" or "hibernate". These files may source
configuration files from /etc/pm/config.d/ on their own in order to pick
up variables set there that aren't part of the global list. Note that
@@ -45,7 +45,7 @@ How do "hooks" work?
will clobber any such variables.
5) the system suspends or hibernates.
6) some event happens to wake the machine up
- 7) each of /etc/pm/hooks/* are executed in reverse C sort order. The first
+ 7) each of /etc/pm/sleep.d/* are executed in reverse C sort order. The first
command line argument is "resume" or "thaw".
8) the system switches back to the original virtual terminal from step 1.