summaryrefslogtreecommitdiff
path: root/package/firewall/files/lib
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-17 19:38:13 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-17 19:38:13 +0000
commit4a88a4e3b37c46552b6146de7c51724bd315b7e1 (patch)
tree78724eb5654acbd3d465e806d6ea7977fdc796ce /package/firewall/files/lib
parent24228fd469fd4133bf9ea86a39c42aa7b198e6d9 (diff)
[package] firewall: use uci_get_state() wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21493 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files/lib')
-rw-r--r--package/firewall/files/lib/core.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/lib/core.sh b/package/firewall/files/lib/core.sh
index f37b1e6961..d0b87a770b 100644
--- a/package/firewall/files/lib/core.sh
+++ b/package/firewall/files/lib/core.sh
@@ -84,7 +84,7 @@ fw_reload() {
}
fw_is_loaded() {
- local bool=$(uci -q -P /var/state get firewall.core.loaded)
+ local bool=$(uci_get_state firewall.core.loaded)
return $((! ${bool:-0}))
}