From: Jo-Philipp Wich Date: Sun, 21 Jun 2009 11:18:09 +0000 (+0000) Subject: contrib/package/sysupgrade-atheros: fix postinstall X-Git-Tag: 0.10.0~1524 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=8616bbc8725ad3091190cd89913ca7a936e44063;ds=sidebyside contrib/package/sysupgrade-atheros: fix postinstall --- diff --git a/contrib/package/sysupgrade-atheros/Makefile b/contrib/package/sysupgrade-atheros/Makefile index 43c7fee69..7b20d8537 100644 --- a/contrib/package/sysupgrade-atheros/Makefile +++ b/contrib/package/sysupgrade-atheros/Makefile @@ -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