Merge pull request #4646 from Cynerd/rpcd-mod-postinst-improve
rpcd-mod-*: improve postinst script
This commit is contained in:
commit
265a6bf5ef
3 changed files with 3 additions and 6 deletions
|
@ -48,8 +48,7 @@ endef
|
||||||
|
|
||||||
define Package/rpcd-mod-luci/postinst
|
define Package/rpcd-mod-luci/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
killall -HUP rpcd 2>/dev/null
|
[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/rpcd reload
|
||||||
exit 0
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,rpcd-mod-luci))
|
$(eval $(call BuildPackage,rpcd-mod-luci))
|
||||||
|
|
|
@ -41,8 +41,7 @@ endef
|
||||||
|
|
||||||
define Package/rpcd-mod-rad2-enc/postinst
|
define Package/rpcd-mod-rad2-enc/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
killall -HUP rpcd 2>/dev/null
|
[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/rpcd reload
|
||||||
exit 0
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,rpcd-mod-rad2-enc))
|
$(eval $(call BuildPackage,rpcd-mod-rad2-enc))
|
||||||
|
|
|
@ -40,8 +40,7 @@ endef
|
||||||
|
|
||||||
define Package/rpcd-mod-rrdns/postinst
|
define Package/rpcd-mod-rrdns/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
killall -HUP rpcd 2>/dev/null
|
[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/rpcd reload
|
||||||
exit 0
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,rpcd-mod-rrdns))
|
$(eval $(call BuildPackage,rpcd-mod-rrdns))
|
||||||
|
|
Loading…
Reference in a new issue