diff --git a/package/secubox/secubox-vortex-firewall/root/usr/libexec/rpcd/luci.vortex-firewall b/package/secubox/secubox-vortex-firewall/root/usr/libexec/rpcd/luci.vortex-firewall index 75effce5..adc19fd1 100755 --- a/package/secubox/secubox-vortex-firewall/root/usr/libexec/rpcd/luci.vortex-firewall +++ b/package/secubox/secubox-vortex-firewall/root/usr/libexec/rpcd/luci.vortex-firewall @@ -12,9 +12,10 @@ SINKHOLE_IP="192.168.255.253" do_status() { json_init - # Service status + # Service status - check both dnsmasq and BIND configurations local active=0 [ -f "/etc/dnsmasq.d/vortex-firewall.conf" ] && active=1 + [ -f "/etc/bind/zones/rpz.vortex.zone" ] && active=1 json_add_boolean "active" "$active" json_add_string "sinkhole_ip" "$SINKHOLE_IP"