summaryrefslogtreecommitdiff
path: root/package
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
parent51cae701b65ce594e92bb75411d494afa0c1a639 (diff)
downloadmtk-20170518-28e92939d1e38b5dfa3772cedc15b6d1120a05f1.zip
mtk-20170518-28e92939d1e38b5dfa3772cedc15b6d1120a05f1.tar.gz
mtk-20170518-28e92939d1e38b5dfa3772cedc15b6d1120a05f1.tar.bz2
firewall: use uci_get_state() wrapper
SVN-Revision: 21493
Diffstat (limited to 'package')
-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 f37b1e6..d0b87a7 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}))
}