summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2007-04-06 16:36:55 -0400
committerDavid Zeuthen <davidz@redhat.com>2007-04-06 16:36:55 -0400
commitf01bae02d42385e8e5e43c9ddbecb43f1518404d (patch)
treedefb362970b42642a4bfab2b4878f183c7c4d015 /tools
parent9893a20754f96c0091f6db169398ebcda7e82e07 (diff)
remote safety valves used in development
Diffstat (limited to 'tools')
-rw-r--r--tools/linux/Makefile.am2
-rwxr-xr-xtools/linux/hal-system-power-hibernate-linux3
-rwxr-xr-xtools/linux/hal-system-power-reboot-linux3
-rwxr-xr-xtools/linux/hal-system-power-shutdown-linux3
-rwxr-xr-xtools/linux/hal-system-power-suspend-hybrid-linux3
-rwxr-xr-xtools/linux/hal-system-power-suspend-linux3
6 files changed, 2 insertions, 15 deletions
diff --git a/tools/linux/Makefile.am b/tools/linux/Makefile.am
index cd1fb806..6736c003 100644
--- a/tools/linux/Makefile.am
+++ b/tools/linux/Makefile.am
@@ -37,3 +37,5 @@ check:
fi; \
done;
+clean-local :
+ rm -f *~
diff --git a/tools/linux/hal-system-power-hibernate-linux b/tools/linux/hal-system-power-hibernate-linux
index 101a3017..250e1914 100755
--- a/tools/linux/hal-system-power-hibernate-linux
+++ b/tools/linux/hal-system-power-hibernate-linux
@@ -1,8 +1,5 @@
#!/bin/sh
-echo "safety valve; exiting here... TODO: remove me"
-exit 0
-
POWERSAVED_SUSPEND2DISK="dbus-send --system --dest=com.novell.powersave \
--print-reply /com/novell/powersave \
com.novell.powersave.action.SuspendToDisk"
diff --git a/tools/linux/hal-system-power-reboot-linux b/tools/linux/hal-system-power-reboot-linux
index 79725cdf..5c1d93d4 100755
--- a/tools/linux/hal-system-power-reboot-linux
+++ b/tools/linux/hal-system-power-reboot-linux
@@ -1,8 +1,5 @@
#!/bin/sh
-echo "safety valve; exiting here... TODO: remove me"
-exit 0
-
unsupported() {
echo "org.freedesktop.Hal.Device.SystemPowerManagement.NotSupported" >&2
echo "No reboot command found" >&2
diff --git a/tools/linux/hal-system-power-shutdown-linux b/tools/linux/hal-system-power-shutdown-linux
index aa77a1d3..6a9811e8 100755
--- a/tools/linux/hal-system-power-shutdown-linux
+++ b/tools/linux/hal-system-power-shutdown-linux
@@ -1,8 +1,5 @@
#!/bin/sh
-echo "safety valve; exiting here... TODO: remove me"
-exit 0
-
unsupported() {
echo "org.freedesktop.Hal.Device.SystemPowerManagement.NotSupported" >&2
echo "No shutdown command found" >&2
diff --git a/tools/linux/hal-system-power-suspend-hybrid-linux b/tools/linux/hal-system-power-suspend-hybrid-linux
index 3bd1f0cf..fc80ad05 100755
--- a/tools/linux/hal-system-power-suspend-hybrid-linux
+++ b/tools/linux/hal-system-power-suspend-hybrid-linux
@@ -14,9 +14,6 @@ unsupported() {
read seconds_to_sleep
-echo "safety valve; exiting here... TODO: remove me"
-exit 0
-
if [ -x "/usr/sbin/pm-suspend-hybrid" ] ; then
if [ $seconds_to_sleep != "0" ] ; then
alarm_not_supported
diff --git a/tools/linux/hal-system-power-suspend-linux b/tools/linux/hal-system-power-suspend-linux
index 9e3d2b3b..3e472f7c 100755
--- a/tools/linux/hal-system-power-suspend-linux
+++ b/tools/linux/hal-system-power-suspend-linux
@@ -18,9 +18,6 @@ unsupported() {
read seconds_to_sleep
-echo "safety valve; exiting here... TODO: remove me"
-exit 0
-
# Make a suitable command line argument so that the tools can do the correct
# quirks for video resume.
# Passing the quirks to the tool allows the tool to not depend on HAL for data.