contrib/package: properly escape postinstall of freifunk-firewall
This commit is contained in:
parent
e2e59b6895
commit
286b11c508
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ endef
|
||||||
|
|
||||||
define Package/freifunk-firewall/postinst
|
define Package/freifunk-firewall/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -n "${IPKG_INSTROOT}" ] || {
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
||||||
if ! grep -q /etc/firewall.freifunk /etc/config/firewall; then
|
if ! grep -q /etc/firewall.freifunk /etc/config/firewall; then
|
||||||
uci add firewall include >/dev/null
|
uci add firewall include >/dev/null
|
||||||
uci set firewall.@include[-1].path=/etc/firewall.freifunk
|
uci set firewall.@include[-1].path=/etc/firewall.freifunk
|
||||||
|
|
Loading…
Reference in a new issue