From: Jo-Philipp Wich Date: Mon, 17 May 2010 19:38:13 +0000 (+0000) Subject: firewall: use uci_get_state() wrapper X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=28e92939d1e38b5dfa3772cedc15b6d1120a05f1;p=openwrt%2Fstaging%2Fneocturne.git firewall: use uci_get_state() wrapper SVN-Revision: 21493 --- 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})) }