]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/login/70-power-switch.rules
build-sys: use #if Y instead of #ifdef Y everywhere
[thirdparty/systemd.git] / src / login / 70-power-switch.rules
CommitLineData
e9d21f24
LP
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
632c2e41 8ACTION=="remove", GOTO="power_switch_end"
e9d21f24 9
5b987a4e
LP
10SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT_SWITCH}=="1", TAG+="power-switch"
11SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT_KEY}=="1", TAG+="power-switch"
e9d21f24
LP
12
13LABEL="power_switch_end"