]> git.ipfire.org Git - thirdparty/systemd.git/blame - rules.d/61-autosuspend-manual.rules
journal-file: delete some unnecessary braces
[thirdparty/systemd.git] / rules.d / 61-autosuspend-manual.rules
CommitLineData
b61d777a 1# This udev rule is for any devices that should enter automatic suspend
0490b440 2# but are not already included in generated rules from Chromium OS via
b61d777a
ML
3# tools/make-autosuspend-rules.py
4#
5
6ACTION!="add", GOTO="autosuspend_manual_end"
7SUBSYSTEM!="usb", GOTO="autosuspend_manual_end"
8
9SUBSYSTEM=="usb", GOTO="autosuspend_manual_usb"
10
11# USB rules
12LABEL="autosuspend_manual_usb"
13GOTO="autosuspend_manual_end"
14
15# Enable autosuspend
16LABEL="autosuspend_manual_enable"
17TEST=="power/control", ATTR{power/control}="auto", GOTO="autosuspend_manual_end"
18
19LABEL="autosuspend_manual_end"