luci-app-sfe: fix status checking
This commit is contained in:
parent
5f569986c8
commit
c43334ee17
@ -25,7 +25,7 @@ local function is_fullcone()
|
||||
end
|
||||
|
||||
local function is_dns()
|
||||
return luci.sys.call("[ `uci get flowoffload.@flow[0].dnscache_enable 2>/dev/null` -ne 3 ] && pgrep dnscache >/dev/null || pgrep AdGuardHome >/dev/null") == 0
|
||||
return luci.sys.call("[ `uci get sfe.@flow[0].dnscache_enable 2>/dev/null` -ne 3 ] && pgrep dnscache >/dev/null || pgrep AdGuardHome >/dev/null") == 0
|
||||
end
|
||||
|
||||
local function is_ad()
|
||||
|
||||
@ -315,7 +315,7 @@ TARGET_DEVICES += smartrg-sr400ac
|
||||
|
||||
define Device/phicomm-k3
|
||||
DEVICE_TITLE := PHICOMM K3
|
||||
DEVICE_PACKAGES := $(BRCMFMAC_4366C0) $(USB3_PACKAGES) k3screenctrl
|
||||
DEVICE_PACKAGES := $(BRCMFMAC_4366C0) $(USB3_PACKAGES) luci-app-k3screenctrl
|
||||
IMAGES := trx
|
||||
endef
|
||||
TARGET_DEVICES += phicomm-k3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user