mirror of
https://github.com/openwrt/luci.git
synced 2026-02-04 12:06:01 +08:00
luci.mk: fix the rpcd reload command
Prevent it from affecting the rpcd process inside the containers Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
This commit is contained in:
committed by
Paul Donald
parent
db91dbcdf7
commit
bbec143bb3
2
luci.mk
2
luci.mk
@@ -233,7 +233,7 @@ define Package/$(PKG_NAME)/postinst
|
|||||||
[ -n "$${IPKG_INSTROOT}" ] || { \
|
[ -n "$${IPKG_INSTROOT}" ] || { \
|
||||||
rm -f /tmp/luci-indexcache.*
|
rm -f /tmp/luci-indexcache.*
|
||||||
rm -rf /tmp/luci-modulecache/
|
rm -rf /tmp/luci-modulecache/
|
||||||
killall -HUP rpcd 2>/dev/null
|
/etc/init.d/rpcd reload 2>/dev/null
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user