Bring back the hotplug-daemon-heuristic as a plugin

This way, the default behavior stays the same, but users can opt out
by disabling the plugin.
This commit is contained in:
Tobias Waldekranz
2020-10-20 14:57:10 +02:00
parent bdceeb83d5
commit adcc78039e
4 changed files with 122 additions and 0 deletions
+8
View File
@@ -17,6 +17,10 @@ if BUILD_DBUS_PLUGIN
libplug_la_SOURCES += dbus.c
endif
if BUILD_HOTPLUG_PLUGIN
libplug_la_SOURCES += hotplug.c
endif
if INETD
if BUILD_INETD_ECHO_PLUGIN
libplug_la_SOURCES += echo.c
@@ -62,6 +66,10 @@ if BUILD_DBUS_PLUGIN
pkglib_LTLIBRARIES += dbus.la
endif
if BUILD_HOTPLUG_PLUGIN
pkglib_LTLIBRARIES += hotplug.la
endif
if INETD
if BUILD_INETD_ECHO_PLUGIN
pkglib_LTLIBRARIES += echo.la