mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
busybox: only enable USB devices with wakeup script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
71fdef5d82
commit
87b25e0b3f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user