luci-0.9: merge r4885
This commit is contained in:
parent
7d141e7a0b
commit
2e70805812
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue