diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-21 11:18:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-21 11:18:09 +0000 |
commit | 8616bbc8725ad3091190cd89913ca7a936e44063 (patch) | |
tree | c8f4dafa36b7e05a174ff3c7dfd8d005faeb1310 /contrib/package/sysupgrade-atheros | |
parent | 522f324ae36a181d4ab83b76814699aa47c0f0f4 (diff) |
contrib/package/sysupgrade-atheros: fix postinstall
Diffstat (limited to 'contrib/package/sysupgrade-atheros')
-rw-r--r-- | contrib/package/sysupgrade-atheros/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/package/sysupgrade-atheros/Makefile b/contrib/package/sysupgrade-atheros/Makefile index 43c7fee69b..7b20d8537b 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 |