From 31e0c83c226350fd05f0c6dc4a9dbb9c7fb9c11f Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Mon, 17 Oct 2022 19:31:57 +0100 Subject: [PATCH] odhcpd: dont poke dnsmasq dnsmasq v2.88 can now remove hosts from dynamically updated hosts files, thus odhcpd doesn't need to signal dnsmasq on host changes. Signed-off-by: Kevin Darbyshire-Bryant --- package/network/services/odhcpd/Makefile | 1 - package/network/services/odhcpd/files/odhcpd-update | 6 ------ package/network/services/odhcpd/files/odhcpd.defaults | 1 - 3 files changed, 8 deletions(-) delete mode 100755 package/network/services/odhcpd/files/odhcpd-update diff --git a/package/network/services/odhcpd/Makefile b/package/network/services/odhcpd/Makefile index 4092588353..3e405bd84d 100644 --- a/package/network/services/odhcpd/Makefile +++ b/package/network/services/odhcpd/Makefile @@ -95,7 +95,6 @@ endif define Package/odhcpd/install $(INSTALL_DIR) $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/odhcpd $(1)/usr/sbin/ - $(INSTALL_BIN) ./files/odhcpd-update $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/odhcpd.init $(1)/etc/init.d/odhcpd $(INSTALL_DIR) $(1)/etc/uci-defaults diff --git a/package/network/services/odhcpd/files/odhcpd-update b/package/network/services/odhcpd/files/odhcpd-update deleted file mode 100755 index c1814e00b0..0000000000 --- a/package/network/services/odhcpd/files/odhcpd-update +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# Make dnsmasq reread hostfile by sending SIGHUP signal - -. /lib/functions/procd.sh - -procd_send_signal dnsmasq diff --git a/package/network/services/odhcpd/files/odhcpd.defaults b/package/network/services/odhcpd/files/odhcpd.defaults index 1350636ba4..48f6036ec5 100644 --- a/package/network/services/odhcpd/files/odhcpd.defaults +++ b/package/network/services/odhcpd/files/odhcpd.defaults @@ -40,7 +40,6 @@ uci batch <