diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-08-14 18:21:43 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 16:47:08 +0200 |
commit | 5df5d72136c7c0b4a45a76463cb3441404f29cb4 (patch) | |
tree | 750850e6a552c09f1ae7c966fbe8fc807d9fe564 /src/login/73-seat-late.rules.m4 | |
parent | f065a4b31d6b1a4995eee02a920c93cbed904822 (diff) |
Prep v239: 73-seat-late.rules is now built from 73-seat-late.rules.m4
Diffstat (limited to 'src/login/73-seat-late.rules.m4')
-rw-r--r-- | src/login/73-seat-late.rules.m4 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/login/73-seat-late.rules.m4 b/src/login/73-seat-late.rules.m4 new file mode 100644 index 000000000..c3487d25f --- /dev/null +++ b/src/login/73-seat-late.rules.m4 @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# +# This file is part of elogind. +# +# elogind is free software; you can redistribute it and/or modify it +# 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 +# (at your option) any later version. + +ACTION=="remove", GOTO="seat_late_end" + +ENV{ID_SEAT}=="", ENV{ID_AUTOSEAT}=="1", ENV{ID_FOR_SEAT}!="", ENV{ID_SEAT}="seat-$env{ID_FOR_SEAT}" +ENV{ID_SEAT}=="", IMPORT{parent}="ID_SEAT" + +ENV{ID_SEAT}!="", TAG+="$env{ID_SEAT}" +#if 0 /// elogind uses its own uaccess replacement command +# m4_ifdef(`HAVE_ACL',`` +# TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"'' +# )m4_dnl +#else +m4_ifdef(`HAVE_ACL',`` +TAG=="uaccess", ENV{MAJOR}!="", RUN{program}+="@rootlibexecdir@/elogind-uaccess-command %N $env{ID_SEAT}"'' +)m4_dnl +#endif // 0 + +LABEL="seat_late_end" |