1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[backfire] merge r26740

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26741 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2011-04-20 11:50:04 +00:00
parent 7262a5c229
commit b9256ceaf5
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ fw__uci_state_add() {
val="${val// $item / }"
val="${val# }"
val="${val% }"
uci_revert_state firewall core $var
uci_set_state firewall core $var "${val:+$val }$item"
}
@@ -19,6 +20,7 @@ fw__uci_state_del() {
val="${val// $item / }"
val="${val# }"
val="${val% }"
uci_revert_state firewall core $var
uci_set_state firewall core $var "$val"
}