luci.mk: fix the rpcd reload command
authorLiangbin Lian <jjm2473@gmail.com>
Thu, 25 Dec 2025 04:58:32 +0000 (12:58 +0800)
committerPaul Donald <newtwen+github@gmail.com>
Fri, 26 Dec 2025 16:40:24 +0000 (16:40 +0000)
Prevent it from affecting the rpcd process inside the containers

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
luci.mk

diff --git a/luci.mk b/luci.mk
index 4f4e16803f788b77a333f0daa9d6822e904bb42b..523361b121d5c2369cd54face7fe5b7b6756cc52 100644 (file)
--- a/luci.mk
+++ b/luci.mk
@@ -233,7 +233,7 @@ define Package/$(PKG_NAME)/postinst
 [ -n "$${IPKG_INSTROOT}" ] || { \
        rm -f /tmp/luci-indexcache.*
        rm -rf /tmp/luci-modulecache/
-       killall -HUP rpcd 2>/dev/null
+       /etc/init.d/rpcd reload 2>/dev/null
        exit 0
 }
 endef