On Fri, Mar 19, 2010 at 2:36 PM, Chase Douglas <[email protected]> wrote: > From: Chase Douglas <[email protected]> > > Signed-off-by: Chase Douglas <[email protected]> > --- > src/pm-powersave.in | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/src/pm-powersave.in b/src/pm-powersave.in > index dff1f64..08e4f5b 100644 > --- a/src/pm-powersave.in > +++ b/src/pm-powersave.in > @@ -38,6 +38,8 @@ trap remove_powersave_lock 0 > mkdir -p "${STORAGEDIR}" > rm -f "${INHIBIT}" > > +load_hook_blacklist > + > if [ "$1" = "true" -o "$1" = "false" ] ; then > init_logfile "${PM_LOGFILE}" > run_hooks power "$1"
Seems reasonable. Does pm-utils complain if you have a sleep.d hook in HOOK_BLACKLIST but you're running power.d hooks? Reviewed-by: Dan Nicholson <[email protected]> _______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
