mirror of
https://github.com/systemd/systemd
synced 2024-09-06 00:41:36 +00:00
![Zbigniew Jędrzejewski-Szmek](/assets/img/avatar_default.png)
This change is only about the source tree. We have tmpfiles.d/, modprobe.d/, sysctl.d/, and sysusers.d/, but for historical reasons, rules/ didn't fit this pattern. We also *install* it as rules.d/. Let's rename to be consistent.
20 lines
565 B
Plaintext
20 lines
565 B
Plaintext
# This udev rule is for any devices that should enter automatic suspend
|
|
# but are not already included in generated rules from Chromium OS via
|
|
# tools/make-autosuspend-rules.py
|
|
#
|
|
|
|
ACTION!="add", GOTO="autosuspend_manual_end"
|
|
SUBSYSTEM!="usb", GOTO="autosuspend_manual_end"
|
|
|
|
SUBSYSTEM=="usb", GOTO="autosuspend_manual_usb"
|
|
|
|
# USB rules
|
|
LABEL="autosuspend_manual_usb"
|
|
GOTO="autosuspend_manual_end"
|
|
|
|
# Enable autosuspend
|
|
LABEL="autosuspend_manual_enable"
|
|
TEST=="power/control", ATTR{power/control}="auto", GOTO="autosuspend_manual_end"
|
|
|
|
LABEL="autosuspend_manual_end"
|