mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 20:29:41 +02: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:
parent
24228fd469
commit
4a88a4e3b3
@ -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}))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user