busybox: only enable USB devices with wakeup script

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-13 13:43:36 +01:00
parent 71fdef5d82
commit 87b25e0b3f

View File

@ -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