mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 08:29:17 +08:00
pc: disable XHCI wakeup
This commit is contained in:
parent
a6b4077114
commit
2462e85b70
@ -47,6 +47,10 @@ inputs:
|
|||||||
then
|
then
|
||||||
echo LID0 > /proc/acpi/wakeup
|
echo LID0 > /proc/acpi/wakeup
|
||||||
fi
|
fi
|
||||||
|
if ${cat} /proc/acpi/wakeup | ${grep} XHCI | ${grep} -q enabled
|
||||||
|
then
|
||||||
|
echo XHCI > /proc/acpi/wakeup
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user