pc: disable XHCI wakeup

This commit is contained in:
陈浩南 2023-12-16 20:34:30 +08:00
parent a6b4077114
commit 2462e85b70

View File

@ -47,6 +47,10 @@ inputs:
then
echo LID0 > /proc/acpi/wakeup
fi
if ${cat} /proc/acpi/wakeup | ${grep} XHCI | ${grep} -q enabled
then
echo XHCI > /proc/acpi/wakeup
fi
'';
wantedBy = [ "multi-user.target" ];
};