chiark / gitweb /
Prep v239: Remove portabled, rc-local and time-sync.
[elogind.git] / src / login / 73-seat-late.rules.in
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
17 #if 0 /// elogind uses its own uaccess replacement command
18 # TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"
19 #else
20 TAG=="uaccess", ENV{MAJOR}!="", RUN{program}+="@rootlibexecdir@/elogind-uaccess-command %N $env{ID_SEAT}"
21 #endif // 0
22
23 LABEL="seat_late_end"