summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/base-files/etc/acpi
diff options
context:
space:
mode:
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-07 13:31:29 +0000
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-07 13:31:29 +0000
commit82929712470ce35a27bc8ee37236c4ba0ad3013a (patch)
treeac51230552f27637595d82bf3f74bf4f404242c3 /target/linux/s3c24xx/base-files/etc/acpi
parent20f06f43fcd9feae6b62adc20d95767a87c6814c (diff)
add script which initiates suspend-to-ram (target-specific)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16368 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/base-files/etc/acpi')
-rwxr-xr-xtarget/linux/s3c24xx/base-files/etc/acpi/sleep.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/base-files/etc/acpi/sleep.sh b/target/linux/s3c24xx/base-files/etc/acpi/sleep.sh
new file mode 100755
index 0000000000..3e67423f42
--- /dev/null
+++ b/target/linux/s3c24xx/base-files/etc/acpi/sleep.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# the following will suspend the Openmoko Freerunner to RAM
+echo mem > /sys/power/state