2020-11-09 12:23:58 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-19 01:18:16 +08:00
|
|
|
#
|
2011-06-29 02:50:43 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2011-06-29 02:50:43 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
ACTION=="remove", GOTO="seat_late_end"
|
|
|
|
|
2011-06-29 03:54:52 +08:00
|
|
|
ENV{ID_SEAT}=="", ENV{ID_AUTOSEAT}=="1", ENV{ID_FOR_SEAT}!="", ENV{ID_SEAT}="seat-$env{ID_FOR_SEAT}"
|
2011-06-29 02:50:43 +08:00
|
|
|
ENV{ID_SEAT}=="", IMPORT{parent}="ID_SEAT"
|
|
|
|
|
|
|
|
ENV{ID_SEAT}!="", TAG+="$env{ID_SEAT}"
|
2021-05-16 19:57:00 +08:00
|
|
|
{% if HAVE_ACL %}
|
|
|
|
TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"
|
|
|
|
{% endif %}
|
2011-06-29 10:14:43 +08:00
|
|
|
|
2011-06-29 02:50:43 +08:00
|
|
|
LABEL="seat_late_end"
|