[Pm-utils] [PATCH 12/17] Modify 94cpufreq to exit $NA where applicable.
Victor Lowther
victor.lowther at gmail.com
Sat Feb 16 12:30:18 PST 2008
---
pm/sleep.d/94cpufreq | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/pm/sleep.d/94cpufreq b/pm/sleep.d/94cpufreq
index 2783c74..12dfc1f 100755
--- a/pm/sleep.d/94cpufreq
+++ b/pm/sleep.d/94cpufreq
@@ -2,8 +2,7 @@
. "${PM_FUNCTIONS}"
-
-[ -d /sys/devices/system/cpu/ ] || exit 1
+[ -d /sys/devices/system/cpu/ ] || exit $NA
hibernate_cpufreq()
{
@@ -35,8 +34,6 @@ case "$1" in
resume|thaw)
thaw_cpufreq
;;
- *)
+ *) exit $NA
;;
esac
-
-exit $?
--
1.5.3.8
More information about the Pm-utils
mailing list