[Pm-utils] [PATCH] Load hook blacklist for power.d hooks
Chase Douglas
chase.douglas at ubuntu.com
Fri Mar 19 14:36:14 PDT 2010
From: Chase Douglas <chase.douglas at canonical.com>
Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
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"
--
1.6.3.3
More information about the Pm-utils
mailing list