mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] firewall: use uci_get_state() wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21493 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -84,7 +84,7 @@ fw_reload() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fw_is_loaded() {
|
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}))
|
return $((! ${bool:-0}))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user