1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:23:09 +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:
jow 2010-05-17 19:38:13 +00:00
parent 24228fd469
commit 4a88a4e3b3

View 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}))
}