aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2020-06-10 17:27:27 +0100
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2020-06-11 15:46:55 +0100
commit46555ce5bce975defc3a3b1e3525aa5ff29f5606 (patch)
tree80411d21d7244b626abd529068220abd8e92bf24
parent8f3b176e8654f19f8b545ceaad08423a1214b667 (diff)
downloadupstream-46555ce5bce975defc3a3b1e3525aa5ff29f5606.tar.gz
upstream-46555ce5bce975defc3a3b1e3525aa5ff29f5606.tar.bz2
upstream-46555ce5bce975defc3a3b1e3525aa5ff29f5606.zip
odhcpd: remove bogus IPKG_INSTROOT reference
IPKG_INSTROOT is only set under image builder and we won't be running this script at build time either, so remove the reference before it gets cargo-culted into other scripts. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Acked-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r--package/network/services/odhcpd/Makefile2
-rwxr-xr-xpackage/network/services/odhcpd/files/odhcpd-update2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/odhcpd/Makefile b/package/network/services/odhcpd/Makefile
index 6510ce6c80..07d7d7d673 100644
--- a/package/network/services/odhcpd/Makefile
+++ b/package/network/services/odhcpd/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=odhcpd
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/odhcpd.git
diff --git a/package/network/services/odhcpd/files/odhcpd-update b/package/network/services/odhcpd/files/odhcpd-update
index 9bc7abcc1c..c1814e00b0 100755
--- a/package/network/services/odhcpd/files/odhcpd-update
+++ b/package/network/services/odhcpd/files/odhcpd-update
@@ -1,6 +1,6 @@
#!/bin/sh
# Make dnsmasq reread hostfile by sending SIGHUP signal
-. $IPKG_INSTROOT/lib/functions/procd.sh
+. /lib/functions/procd.sh
procd_send_signal dnsmasq