From 28e92939d1e38b5dfa3772cedc15b6d1120a05f1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 17 May 2010 19:38:13 +0000 Subject: [PATCH] firewall: use uci_get_state() wrapper SVN-Revision: 21493 --- package/firewall/files/lib/core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/firewall/files/lib/core.sh b/package/firewall/files/lib/core.sh index f37b1e69612b..d0b87a770b80 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})) } -- 2.30.2