summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2018-08-14 18:21:43 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit5df5d72136c7c0b4a45a76463cb3441404f29cb4 (patch)
tree750850e6a552c09f1ae7c966fbe8fc807d9fe564
parentf065a4b31d6b1a4995eee02a920c93cbed904822 (diff)
Prep v239: 73-seat-late.rules is now built from 73-seat-late.rules.m4
m---------pwx0
-rw-r--r--src/login/73-seat-late.rules.m4 (renamed from src/login/73-seat-late.rules.in)13
2 files changed, 8 insertions, 5 deletions
diff --git a/pwx b/pwx
-Subproject e2a28187a4904b089ace59d3ec65834799a2967
+Subproject 2bee2d8292d4cfb3bfdfd6ac7db3a5ca75aca30
diff --git a/src/login/73-seat-late.rules.in b/src/login/73-seat-late.rules.m4
index 5244e8a3d..c3487d25f 100644
--- a/src/login/73-seat-late.rules.in
+++ b/src/login/73-seat-late.rules.m4
@@ -1,8 +1,8 @@
# SPDX-License-Identifier: LGPL-2.1+
#
-# This file is part of systemd.
+# This file is part of elogind.
#
-# systemd is free software; you can redistribute it and/or modify it
+# 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.
@@ -13,11 +13,14 @@ ENV{ID_SEAT}=="", ENV{ID_AUTOSEAT}=="1", ENV{ID_FOR_SEAT}!="", ENV{ID_SEAT}="sea
ENV{ID_SEAT}=="", IMPORT{parent}="ID_SEAT"
ENV{ID_SEAT}!="", TAG+="$env{ID_SEAT}"
-
#if 0 /// elogind uses its own uaccess replacement command
-# TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"
+# m4_ifdef(`HAVE_ACL',``
+# TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"''
+# )m4_dnl
#else
-TAG=="uaccess", ENV{MAJOR}!="", RUN{program}+="@rootlibexecdir@/elogind-uaccess-command %N $env{ID_SEAT}"
+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"