projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rpcd-mod-*: improve postinst script
[project/luci.git]
/
libs
/
rpcd-mod-luci
/
Makefile
diff --git
a/libs/rpcd-mod-luci/Makefile
b/libs/rpcd-mod-luci/Makefile
index 8833bb45ca1f30f7ca47c31625c1aec591ead12e..a39ec3b2242152672a44f5c095381465dedacab9 100644
(file)
--- a/
libs/rpcd-mod-luci/Makefile
+++ b/
libs/rpcd-mod-luci/Makefile
@@
-48,8
+48,7
@@
endef
define Package/rpcd-mod-luci/postinst
#!/bin/sh
-killall -HUP rpcd 2>/dev/null
-exit 0
+[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/rpcd reload
endef
$(eval $(call BuildPackage,rpcd-mod-luci))