aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:38:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:38:13 +0000
commit3392cdb9b8642080485bc807ffda2eb60dd7fdbd (patch)
tree78724eb5654acbd3d465e806d6ea7977fdc796ce /package/firewall
parentd553f3eccdfe0b4910c8cc49dfcd75c6ef3931c1 (diff)
downloadupstream-3392cdb9b8642080485bc807ffda2eb60dd7fdbd.tar.gz
upstream-3392cdb9b8642080485bc807ffda2eb60dd7fdbd.tar.bz2
upstream-3392cdb9b8642080485bc807ffda2eb60dd7fdbd.zip
[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')
-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}))
}