[Pm-utils] pm-utils-1.1.0

Victor Lowther victor.lowther at gmail.com
Mon Apr 28 16:17:49 PDT 2008


On Mon, 2008-04-28 at 16:55 +0200, Stefan Seyfried wrote:
> Michael Biebl wrote:
> 
> > You mean, by either creating an empty file or a file without execute
> > bits in /etc/pm/sleep.d which has the same name as the hook that
> > should be disabled.
> > 
> > Imho this wasn't very intuitive and setting a config/environment
> > variable seems to be more common.
> 
> But it was fast and small. Small is beautiful ;-)
> And documented.

It still is and that method still works. The whole reason I introduced
the new method was to make disabling a hook an action another hook could
do without needing to worry about persistent state.

> > The only complaint I had, was that we basically have two ways now, how
> > to disable a hook. But that's about it.
> 
> The guys who forked the project should have changed the name. Unfortunately
> they now have legacy APIs to obey ;-)
-- 
Victor Lowther
Ubuntu Certified Professional



More information about the Pm-utils mailing list