initctl: monitor and condition control over the bus

The bus can already answer questions and change services, so give
initctl the two things it still did another way: watching signals as
they happen, and getting or setting user conditions.

The dbus tests move with it, split by area rather than one file that
grew every time the library did.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2026-08-13 09:28:14 +02:00
parent 0a269f3298
commit dd1390a6c2
13 changed files with 854 additions and 980 deletions
+4 -2
View File
@@ -9,6 +9,8 @@ serv_LDADD = $(lite_LIBS)
endif
if DBUS
noinst_PROGRAMS += dbus-auth-client
dbus_auth_client_SOURCES = dbus-auth-client.c
noinst_PROGRAMS += dbus-auth-client
dbus_auth_client_SOURCES = dbus-auth-client.c
dbus_auth_client_CPPFLAGS = -D_GNU_SOURCE -I$(top_srcdir)/libink
dbus_auth_client_LDADD = $(top_builddir)/libink/libink.la
endif
File diff suppressed because it is too large Load Diff