aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/base-files/etc/acpi
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
commit5a89b9d24199153441ee4245d6817605e49477e0 (patch)
tree6492bbf9eba1e87f1ff5654227fdc0e5ec611ad1 /target/linux/s3c24xx/base-files/etc/acpi
parent74f8ea728abd76c3fe5edb1e602a8cd39d647d81 (diff)
downloadupstream-5a89b9d24199153441ee4245d6817605e49477e0.tar.gz
upstream-5a89b9d24199153441ee4245d6817605e49477e0.tar.bz2
upstream-5a89b9d24199153441ee4245d6817605e49477e0.zip
add script which initiates suspend-to-ram (target-specific)
SVN-Revision: 16368
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