diff --git a/package/firewall/files/lib/core.sh b/package/firewall/files/lib/core.sh index f37b1e6961..d0b87a770b 100644 --- a/package/firewall/files/lib/core.sh +++ b/package/firewall/files/lib/core.sh @@ -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})) }