]> git.proxmox.com Git - systemd.git/blame - src/login/70-power-switch.rules
Imported Upstream version 217
[systemd.git] / src / login / 70-power-switch.rules
CommitLineData
663996b3
MS
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
8ACTION=="remove", GOTO="power_switch_end"
9
10SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch"
11SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch"
5eef597e
MP
12SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="twl4030_pwrbutton", TAG+="power-switch"
13SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="tps65217_pwr_but", TAG+="power-switch"
663996b3
MS
14
15LABEL="power_switch_end"