chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3569e
)
login: Use the GOTO properly in udev rule
author
Tero Roponen
<tero.roponen@gmail.com>
Wed, 30 May 2012 16:34:28 +0000
(18:34 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 30 May 2012 16:34:28 +0000
(18:34 +0200)
In udev rules the labels must be assigned to GOTO keys with '='.
src/login/70-power-switch.rules
patch
|
blob
|
history
diff --git
a/src/login/70-power-switch.rules
b/src/login/70-power-switch.rules
index 9095923209c4f9cad50f33266c2df447616c4c37..36fb827315655c3ee899830e57c5b873c0130e25 100644
(file)
--- a/
src/login/70-power-switch.rules
+++ b/
src/login/70-power-switch.rules
@@
-5,7
+5,7
@@
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
-ACTION=="remove", GOTO
"power_switch_end"
+ACTION=="remove", GOTO
=
"power_switch_end"
SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch"