aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2009-06-07 13:31:29 +0000
committerMirko Vogt <mirko@openwrt.org>2009-06-07 13:31:29 +0000
commitabe67c1a2e6d0c73adaf30227f735028e4e03c23 (patch)
treeac51230552f27637595d82bf3f74bf4f404242c3 /target
parent9510d3240955abed9acf4baab8601dbdd948c2ee (diff)
downloadmaster-187ad058-abe67c1a2e6d0c73adaf30227f735028e4e03c23.tar.gz
master-187ad058-abe67c1a2e6d0c73adaf30227f735028e4e03c23.tar.bz2
master-187ad058-abe67c1a2e6d0c73adaf30227f735028e4e03c23.zip
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')
-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