summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-04-10 22:02:15 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-04-10 22:02:15 -0500
commit69456c003c8a03e809f88f159aeaa05d35134b71 (patch)
treef2accd19af78fb12f7c3fc968fd05b7487a51916
parent93af881ac18718c8eae7f575c3f30396791b0e75 (diff)
Added a README file for the distributions.
It describes a better method for packaging hooks needed for suspend/resume -- namely, put the hooks in the package tht requires them rather than making them a part of the pm-utils package.
-rw-r--r--README.distributions13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.distributions b/README.distributions
new file mode 100644
index 0000000..38c1b07
--- /dev/null
+++ b/README.distributions
@@ -0,0 +1,13 @@
+Note for distro maintainers:
+
+When writing sleep hooks, please consider adding any needed hooks to the package
+that requires the hooks, rather than pm-utils.
+
+An example would be if you distro wants anacrom to run on resume -- the optimal
+fix would be to have the anacron package install a hook in
+/usr/lib/pm-utils/sleep.d that wakes anacron up on resume.
+
+This will also help package maintenance by allowing package maintainers to
+keep track of what the best way to handle any suspend/resume functionality their
+package requires insteas of leaving it up to the pm-utils maintainers to guess
+at what functionality is needed. \ No newline at end of file