[package] firewall: use uci_get_state() wrapper
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 May 2010 19:38:13 +0000 (19:38 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 May 2010 19:38:13 +0000 (19:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21493 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/firewall/files/lib/core.sh

index f37b1e6..d0b87a7 100644 (file)
@@ -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}))
 }
 
This page took 0.024193 seconds and 4 git commands to generate.