X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=contrib%2Fpackage%2Fsysupgrade-atheros%2FMakefile;h=e4414b13461e219a585c6c5b7d63366e0c9c31f2;hp=6b52ee1386ea1ec485a990a609d66259ed7af140;hb=8c675f6a6ccd30c79fbc2d624b9ce2e6d7375d66;hpb=94322a831539b23fbf0433bf2fe2bbe92c3122da;ds=sidebyside diff --git a/contrib/package/sysupgrade-atheros/Makefile b/contrib/package/sysupgrade-atheros/Makefile index 6b52ee138..e4414b134 100644 --- a/contrib/package/sysupgrade-atheros/Makefile +++ b/contrib/package/sysupgrade-atheros/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sysupgrade-atheros -PKG_RELEASE:=1 +PKG_RELEASE:=3 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) @@ -17,8 +17,8 @@ define Package/sysupgrade-atheros SECTION:=luci CATEGORY:=LuCI SUBMENU:=Freifunk - TITLE:=Experimental sysupgrade support for Atheros SoC - DEPENDS:=+base-files + TITLE:=Experimental sysupgrade support for Atheros SoC and AR71xx target (UBNT RS) + DEPENDS:=@TARGET_atheros||@TARGET_ar71xx endef define Package/sysupgrade-atheros/description @@ -40,10 +40,8 @@ endef define Package/sysupgrade-atheros/postinst #!/bin/sh [ -n "$${IPKG_INSTROOT}" ] || { - if ! grep -q /etc/firewall.freifunk /etc/config/firewall; then - uci add firewall include >/dev/null - uci set firewall.@include[-1].path=/etc/firewall.freifunk - uci commit firewall + if [ -f /lib/upgrade/kill-ffwatchd.sh ]; then + rm -f /lib/upgrade/kill-ffwatchd.sh fi } endef