File: README.distributions

package info (click to toggle)
pm-utils 1.1.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 820 kB
  • ctags: 81
  • sloc: sh: 1,954; xml: 921; makefile: 154; ansic: 133
file content (13 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
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.