]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/login/73-seat-late.rules.m4
Merge pull request #13360 from keszybz/udev-watch-more
[thirdparty/systemd.git] / src / login / 73-seat-late.rules.m4
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # This file is part of systemd.
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
9
10 ACTION=="remove", GOTO="seat_late_end"
11
12 ENV{ID_SEAT}=="", ENV{ID_AUTOSEAT}=="1", ENV{ID_FOR_SEAT}!="", ENV{ID_SEAT}="seat-$env{ID_FOR_SEAT}"
13 ENV{ID_SEAT}=="", IMPORT{parent}="ID_SEAT"
14
15 ENV{ID_SEAT}!="", TAG+="$env{ID_SEAT}"
16 m4_ifdef(`HAVE_ACL',``
17 TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"''
18 )m4_dnl
19
20 LABEL="seat_late_end"