aboutsummaryrefslogtreecommitdiffstats
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
parentd553f3eccdfe0b4910c8cc49dfcd75c6ef3931c1 (diff)
downloadmaster-187ad058-3392cdb9b8642080485bc807ffda2eb60dd7fdbd.tar.gz
master-187ad058-3392cdb9b8642080485bc807ffda2eb60dd7fdbd.tar.bz2
master-187ad058-3392cdb9b8642080485bc807ffda2eb60dd7fdbd.zip
[package] firewall: use uci_get_state() wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21493 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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}))
}