[Pm-utils] [PATCH 5/7] Moved the SLEEP_FUNCTIONS declaration to after where we load defaults.

Victor Lowther victor.lowther at gmail.com
Tue Feb 12 17:38:07 PST 2008


---
 pm/functions.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pm/functions.in b/pm/functions.in
index e1a8a0e..36559fb 100644
--- a/pm/functions.in
+++ b/pm/functions.in
@@ -25,12 +25,13 @@ TEMPORARY_CPUFREQ_GOVERNOR="performance"
 LOCKDIR="${PM_UTILS_RUNDIR}/locks"
 STORAGEDIR="${PM_UTILS_RUNDIR}/storage"
 SLEEP_MODULE="kernel"
-SLEEP_FUNCTIONS="${PM_UTILS_LIBDIR}/module.d/${SLEEP_MODULE}"
 
 # Use c sort order
 export LC_COLLATE=C
 
 [ -O "${PM_UTILS_LIBDIR}"/defaults ] && . "${PM_UTILS_LIBDIR}"/defaults
+
+SLEEP_FUNCTIONS="${PM_UTILS_LIBDIR}/module.d/${SLEEP_MODULE}"
 set +a
 
 
-- 
1.5.3.8



More information about the Pm-utils mailing list