summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
Diffstat (limited to 'pm')
-rwxr-xr-xpm/sleep.d/00clear2
-rwxr-xr-xpm/sleep.d/00logging2
-rwxr-xr-xpm/sleep.d/05led2
-rwxr-xr-xpm/sleep.d/10NetworkManager2
-rwxr-xr-xpm/sleep.d/49bluetooth2
-rwxr-xr-xpm/sleep.d/50modules2
-rwxr-xr-xpm/sleep.d/65alsa2
-rwxr-xr-xpm/sleep.d/90clock2
-rwxr-xr-xpm/sleep.d/94cpufreq2
-rwxr-xr-xpm/sleep.d/99video2
10 files changed, 10 insertions, 10 deletions
diff --git a/pm/sleep.d/00clear b/pm/sleep.d/00clear
index 217d8db..a5cd02b 100755
--- a/pm/sleep.d/00clear
+++ b/pm/sleep.d/00clear
@@ -3,7 +3,7 @@
. "${PM_FUNCTIONS}"
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
fgconsole |savestate console
chvt 63
TERM=linux clear
diff --git a/pm/sleep.d/00logging b/pm/sleep.d/00logging
index fd2a9a8..7990a50 100755
--- a/pm/sleep.d/00logging
+++ b/pm/sleep.d/00logging
@@ -3,7 +3,7 @@
. "${PM_FUNCTIONS}"
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
[ -n "$PM_LOGFILE" ] || exit 0
/bin/uname -a
lsmod
diff --git a/pm/sleep.d/05led b/pm/sleep.d/05led
index c7263fd..84bef1b 100755
--- a/pm/sleep.d/05led
+++ b/pm/sleep.d/05led
@@ -3,7 +3,7 @@
[ -f /proc/acpi/ibm/led ] || exit $NA
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
echo "7 blink" >/proc/acpi/ibm/led
;;
thaw|resume)
diff --git a/pm/sleep.d/10NetworkManager b/pm/sleep.d/10NetworkManager
index bcb5e5d..8538d6b 100755
--- a/pm/sleep.d/10NetworkManager
+++ b/pm/sleep.d/10NetworkManager
@@ -23,7 +23,7 @@ resume_nm()
}
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
suspend_nm
;;
thaw|resume)
diff --git a/pm/sleep.d/49bluetooth b/pm/sleep.d/49bluetooth
index e4977c4..5fcb04c 100755
--- a/pm/sleep.d/49bluetooth
+++ b/pm/sleep.d/49bluetooth
@@ -23,7 +23,7 @@ resume_bluetooth()
}
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
suspend_bluetooth
;;
thaw|resume)
diff --git a/pm/sleep.d/50modules b/pm/sleep.d/50modules
index 5d8c5da..338529b 100755
--- a/pm/sleep.d/50modules
+++ b/pm/sleep.d/50modules
@@ -17,7 +17,7 @@ resume_modules()
}
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
suspend_modules
;;
thaw|resume)
diff --git a/pm/sleep.d/65alsa b/pm/sleep.d/65alsa
index bfe76be..5fc729e 100755
--- a/pm/sleep.d/65alsa
+++ b/pm/sleep.d/65alsa
@@ -5,7 +5,7 @@
command_exists alsactl || exit $NA
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
alsactl store 0 >/dev/null 2>&1
;;
thaw|resume)
diff --git a/pm/sleep.d/90clock b/pm/sleep.d/90clock
index b000457..f69c8c9 100755
--- a/pm/sleep.d/90clock
+++ b/pm/sleep.d/90clock
@@ -25,7 +25,7 @@ resume_clock()
}
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
suspend_clock
;;
thaw|resume)
diff --git a/pm/sleep.d/94cpufreq b/pm/sleep.d/94cpufreq
index cfb0c60..d956aa1 100755
--- a/pm/sleep.d/94cpufreq
+++ b/pm/sleep.d/94cpufreq
@@ -33,7 +33,7 @@ thaw_cpufreq()
}
case "$1" in
- suspend*|hibernate)
+ suspend|hibernate)
hibernate_cpufreq
;;
resume|thaw)
diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video
index c20c7fa..690a4dd 100755
--- a/pm/sleep.d/99video
+++ b/pm/sleep.d/99video
@@ -130,7 +130,7 @@ help() {
}
case "$1" in
- suspend*) suspend_video ;;
+ suspend) suspend_video ;;
hibernate)
if [ "$HIBERNATE_RESUME_POST_VIDEO" = "yes" ]; then
suspend_video