mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
busybox: add support for wakup on UH[C,0-9] devices
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c479bd4fe9
commit
ff738ff5f7
@ -26,7 +26,7 @@
|
|||||||
if [ -f /proc/acpi/wakeup ]; then
|
if [ -f /proc/acpi/wakeup ]; then
|
||||||
progress "enable WakeUp devices"
|
progress "enable WakeUp devices"
|
||||||
|
|
||||||
for device in `cat /proc/acpi/wakeup | grep "^US[B,0-9]" | grep "*disabled" | cut -f1 -d " "`; do
|
for device in `cat /proc/acpi/wakeup | grep "^U[H,S][B,C,0-9]" | grep "*disabled" | cut -f1 -d " "`; do
|
||||||
echo -n $device > /proc/acpi/wakeup
|
echo -n $device > /proc/acpi/wakeup
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user