firewall: use uci_get_state() wrapper

SVN-Revision: 21493
lede-17.01
Jo-Philipp Wich 2010-05-17 19:38:13 +00:00
parent 51cae701b6
commit 28e92939d1
1 changed files with 1 additions and 1 deletions

View File

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