X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=hnetd%2FMakefile;h=73acc0b0e6434e0b79590f34dae927ab8eda619d;hb=55135990c00aee8fdade5036581c5dc49d458c00;hp=500cbb34bf146b0c6e1ca534c543166fabf870da;hpb=41ed16b7ad3bd3411b4cbc955447833c3763df83;p=lede-routing%2F.git diff --git a/hnetd/Makefile b/hnetd/Makefile index 500cbb3..73acc0b 100644 --- a/hnetd/Makefile +++ b/hnetd/Makefile @@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hnetd -PKG_SOURCE_VERSION:=1031619a9319baeee68ddd2bcb76c8d74089ba27 -PKG_VERSION:=2014-02-28-$(PKG_SOURCE_VERSION) +PKG_SOURCE_VERSION:=0695a237873723d9a2e797b68c4690ced436ff17 +PKG_VERSION:=2014-03-25-$(PKG_SOURCE_VERSION) PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git @@ -72,7 +72,12 @@ endef define Package/hnetd/postinst #!/bin/sh -[ -n "$${IPKG_INSTROOT}" ] || (. /etc/uci-defaults/x-hnetd.defaults) && rm -f /etc/uci-defaults/x-hnetd.defaults +[ -n "$${IPKG_INSTROOT}" ] || { + (. /etc/uci-defaults/x-hnetd.defaults) && rm -f /etc/uci-defaults/x-hnetd.defaults + [ -x /etc/init.d/dnsmasq ] && /etc/init.d/dnsmasq restart + /etc/init.d/hnetd enable + /etc/init.d/hnetd start +} exit 0 endef