On Sun, 20 May 2007 18:24:21 +0200 Eduard Bloch <[EMAIL PROTECTED]> wrote:
> Package: pm-utils
> Version: 0.99.2-1
> Severity: normal
>
> Hello,
>
> I would really like to use your concept because I am tired with seeing
> the Nth hibernation/resuming script. However, your documentation does
> not invite me... why?
>
> I see /etc/pm/{config.d,power.d,sleep.d}. What do they do, what are they
> good for? pm-suspend(8) is interesting. But it does not explain how to
> actually use them. "config"... what kind of config? You talk about
> variables in these snippets, ok. But then explain what you can actually
> configure there, how the syntax looks like, which variable does change
> what? Do I need to check your source, to extract the information from
> that?
Syntax is:
VAR_NAME = value
Current variables. The most important one at the moment is
SUSPEND_MODULES (modules to unload before suspend), I'll document the
rest (which means indeed I'll have to read the source;)
> Ok, let's continue. The next thing I would expect as developer, is
> something similar to init.d where executable scripts are executed with
> "suspend" and "resume" arguments, or "sleep" and "continue" or so. Or
> two directories with such names. But what do I see? Some power.d and
> sleep.d. What are they good for? sleep.d is kinda documented,
I added some more words about sleep.d
> power.d isn't. WTF?
power.d is documented in pm-powersave.
> Ok, let's look in the README. Now, only now, "hook" is explained. But
> then it advises me to use /etc/pm/hooks and /etc/pm/config{,.d}. There
> are no such directories. Now the arguments are explained that I was
> looking for. But still, on which scripts?
The upstream README is indeed a bit outdated.
I've attached my improved manpage of pm-suspend. Any more comments?
grts Tim
pm-action.8
Description: Binary data
signature.asc
Description: PGP signature

