Merge pull request #4646 from Cynerd/rpcd-mod-postinst-improve

rpcd-mod-*: improve postinst script
This commit is contained in:
Jo-Philipp Wich 2020-12-07 17:38:17 +01:00 committed by GitHub
commit 265a6bf5ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

View file

@ -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))

View file

@ -41,8 +41,7 @@ endef
define Package/rpcd-mod-rad2-enc/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-rad2-enc))

View file

@ -40,8 +40,7 @@ endef
define Package/rpcd-mod-rrdns/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-rrdns))