dist_udevrules_DATA = \
src/70-uaccess.rules \
src/71-seat.rules \
- src/73-seat-late.rules \
src/99-systemd.rules
+nodist_udevrules_DATA = \
+ src/73-seat-late.rules
+
dbusinterface_DATA = \
org.freedesktop.systemd1.Manager.xml \
org.freedesktop.systemd1.Job.xml \
units/quotacheck.service.in \
systemd.pc.in \
introspect.awk \
- src/org.freedesktop.systemd1.policy.in
+ src/org.freedesktop.systemd1.policy.in \
+ src/73-seat-late.rules.in
if ENABLE_BINFMT
EXTRA_DIST += \
src/%.policy: src/%.policy.in Makefile
$(SED_PROCESS)
+src/%.rules: src/%.rules.in Makefile
+ $(SED_PROCESS)
+
M4_PROCESS_SYSTEM = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
* spawn user systemd
* direct client API
* verify access to SetIdleHint
- * hook up ACL tool for udev
*
* udev:
* drop redundant udev_device_get_is_initialized() use as soon as libudev is fixed
log_parse_environment();
log_open();
- if (argc != 2) {
- log_error("This program expects two argument.");
+ if (argc < 2 || argc > 3) {
+ log_error("This program expects one or two arguments.");
r = -EINVAL;
goto finish;
}
path = argv[1];
- seat = argv[2];
+ seat = argc >= 3 ? argv[2] : "seat0";
p = strappend("/run/systemd/seats/", seat);
if (!p) {