From 82929712470ce35a27bc8ee37236c4ba0ad3013a Mon Sep 17 00:00:00 2001 From: mirko Date: Sun, 7 Jun 2009 13:31:29 +0000 Subject: [PATCH] add script which initiates suspend-to-ram (target-specific) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16368 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/s3c24xx/base-files/etc/acpi/sleep.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 target/linux/s3c24xx/base-files/etc/acpi/sleep.sh 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 000000000..3e67423f4 --- /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 -- 2.35.1