summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2010-03-19 17:36:14 -0400
committerDan Nicholson <dbn.lists@gmail.com>2010-03-20 10:49:02 -0700
commitddad23ae577a712489abbdd7e997ce4a551ea838 (patch)
tree4cb13690ccaaaf682b099cd91441b5cb53de4ad2 /src
parente8d0b58a9df080f021d04b4c2d358003974092f3 (diff)
Load hook blacklist for power.d hooks
Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/pm-powersave.in2
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"