aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files
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
commit28e92939d1e38b5dfa3772cedc15b6d1120a05f1 (patch)
tree862c1a42a5593211f0746c1d53d8612bd2d50e6a /package/firewall/files
parent51cae701b65ce594e92bb75411d494afa0c1a639 (diff)
downloadupstream-28e92939d1e38b5dfa3772cedc15b6d1120a05f1.tar.gz
upstream-28e92939d1e38b5dfa3772cedc15b6d1120a05f1.tar.bz2
upstream-28e92939d1e38b5dfa3772cedc15b6d1120a05f1.zip
firewall: use uci_get_state() wrapper
SVN-Revision: 21493
Diffstat (limited to 'package/firewall/files')
-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}))
}