From 87b25e0b3fce3735b676efc615a657a66729c763 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 13 Jan 2011 13:43:36 +0100 Subject: [PATCH] busybox: only enable USB devices with wakeup script Signed-off-by: Stephan Raue --- packages/sysutils/busybox/init.d/35_wakeup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/init.d/35_wakeup b/packages/sysutils/busybox/init.d/35_wakeup index 69714d1e94..8ad0440b36 100644 --- a/packages/sysutils/busybox/init.d/35_wakeup +++ b/packages/sysutils/busybox/init.d/35_wakeup @@ -26,7 +26,7 @@ if [ -f /proc/acpi/wakeup ]; then progress "enable WakeUp devices" - for device in `cat /proc/acpi/wakeup |grep "*disabled" | cut -f1 -d " "`; do + for device in `cat /proc/acpi/wakeup | grep "^US[B,0-9]" | grep "*disabled" | cut -f1 -d " "`; do echo -n $device > /proc/acpi/wakeup done fi