From 65deb313f275763363d32ba66e9c16804ca19b57 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 | 8 -------- 2 files changed, 9 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 2a0e421f3b..98ca6a3e2e 100644 --- a/package/network/services/odhcpd/Makefile +++ b/package/network/services/odhcpd/Makefile @@ -74,7 +74,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 e777fcbb07..0000000000 --- a/package/network/services/odhcpd/files/odhcpd-update +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# Make dnsmasq reread hostfile by sending SIGHUP signal - -initscript=$0 - -. /lib/functions/procd.sh - -procd_send_signal dnsmasq -- 2.30.2