mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
busybox: enable all disabled devices in /cat/proc/wakeup to wakeup from standby
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
16a900f7cc
commit
c24203385b
@ -30,4 +30,12 @@
|
||||
progress "Starting ACPI daemon"
|
||||
|
||||
acpid /dev/input/event* 2>&1 > /dev/null
|
||||
|
||||
if [ -f /proc/acpi/wakeup ]; then
|
||||
progress "enable WakeUp devices"
|
||||
|
||||
for device in `cat /proc/acpi/wakeup |grep "*disabled" | cut -f1 -d " "`; do
|
||||
echo -n $device > /proc/acpi/wakeup
|
||||
done
|
||||
fi
|
||||
)&
|
||||
|
Loading…
x
Reference in New Issue
Block a user