chiark / gitweb /
logind: minor cleanup and use IN_SET() in manager_handle_action()
[elogind.git] / src / login / 73-seat-late.rules.in
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="seat_late_end"
9
10 ENV{ID_SEAT}=="", ENV{ID_AUTOSEAT}=="1", ENV{ID_FOR_SEAT}!="", ENV{ID_SEAT}="seat-$env{ID_FOR_SEAT}"
11 ENV{ID_SEAT}=="", IMPORT{parent}="ID_SEAT"
12
13 ENV{ID_SEAT}!="", TAG+="$env{ID_SEAT}"
14
15 TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"
16
17 LABEL="seat_late_end"