2+++ on_firmware/packages/admin/muninlite/patches/munin-node-plugin.patch
4+--- a/muninlite.in 2021-09-23 17:39:17.950508377 +0200
5++++ b/muninlite.in 2021-09-23 17:39:42.715684509 +0200
8+ # if plugindir_ is present in $PLUGINS, executables (scripts, binaries) in the specified path
9+ # and matching the pattern will be scanned and operated as plugins
10+-PLUGIN_DIRECTORY=/etc/munin/plugins
11++PLUGIN_DIRECTORY=/usr/sbin/munin-node-plugin.d
14+ # Remove unwanted plugins from this list
16--- on_firmware.orig/packages/admin/muninlite/Makefile
17+++ on_firmware/packages/admin/muninlite/Makefile
18@@ -36,14 +36,14 @@ endef
20 define Package/muninlite/install
21 $(INSTALL_DIR) $(1)/usr/sbin/
22- $(INSTALL_BIN) $(PKG_BUILD_DIR)/muninlite $(1)/usr/sbin/
23+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/muninlite $(1)/usr/sbin/munin-node
24 $(INSTALL_DIR) $(1)/etc/xinetd.d
25- $(INSTALL_DATA) ./files/etc/xinetd.d/muninlite $(1)/etc/xinetd.d/
26+ $(INSTALL_DATA) ./files/etc/xinetd.d/muninlite $(1)/etc/xinetd.d/munin
27 $(INSTALL_DIR) $(1)/etc/munin/plugins
30 define Package/muninlite/conffiles
31-/etc/xinetd.d/muninlite
35 $(eval $(call BuildPackage,muninlite))
36--- on_firmware.orig/packages/admin/muninlite/files/etc/xinetd.d/muninlite
37+++ on_firmware/packages/admin/muninlite/files/etc/xinetd.d/munin
38@@ -5,6 +5,6 @@ service munin
42- server = /usr/sbin/muninlite
43+ server = /usr/sbin/munin-node