summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-02-02 12:11:49 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-02-02 12:11:49 -0600
commitfa5cbe713ac0360ecdeb6f6dae1a12ab8ed53dbf (patch)
tree0e37551b56ce64bb73c70db82dae62be7175bc06
parent5953cb0f775e2fe66d74ba8f0581ee8eb00e8393 (diff)
Export location of pm/functions from pm-action
-rwxr-xr-xsrc/pm-action3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pm-action b/src/pm-action
index 3a1e6a5..68dbb93 100755
--- a/src/pm-action
+++ b/src/pm-action
@@ -84,7 +84,8 @@ do
shift
done
-. /usr/lib/pm-utils/functions
+export PM_FUNCTIONS="/usr/lib/pm-utils/functions"
+. "${PM_FUNCTIONS}"
[ -f /sys/power/state ] || exit 1