aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/base-files
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/linux/s3c24xx/base-files
parent9510d3240955abed9acf4baab8601dbdd948c2ee (diff)
downloadupstream-abe67c1a2e6d0c73adaf30227f735028e4e03c23.tar.gz
upstream-abe67c1a2e6d0c73adaf30227f735028e4e03c23.tar.bz2
upstream-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/linux/s3c24xx/base-files')
-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