]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/login/70-power-switch.rules
build-sys: rename LEGACY to NOLEGACY to better reflect meaning
[thirdparty/systemd.git] / src / login / 70-power-switch.rules
1 # This file is part of systemd.
2 #
3 # systemd is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
7
8 ACTION=="remove", GOTO="power_switch_end"
9
10 SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch"
11 SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch"
12
13 LABEL="power_switch_end"