Skip to content

Commit

Permalink
luci-app-ssr-plus: add mosdns status
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Oct 31, 2023
1 parent 1633aab commit 41a1e6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions luci-app-ssr-plus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-ssr-plus
PKG_VERSION:=188
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_NONE_V2RAY \
Expand Down Expand Up @@ -120,7 +120,7 @@ config PACKAGE_$(PKG_NAME)_INCLUDE_ChinaDNS_NG

config PACKAGE_$(PKG_NAME)_INCLUDE_MosDNS
bool "Include MosDNS"
default n
default y if i386||x86_64||arm

config PACKAGE_$(PKG_NAME)_INCLUDE_Hysteria
bool "Include Hysteria"
Expand Down
2 changes: 1 addition & 1 deletion luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/status.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if Process_list:find("ssr.server") then
server_run = 1
end

if Process_list:find("ssrplus/bin/dns2tcp") or (Process_list:find("ssrplus.dns") and Process_list:find("dns2socks.127.0.0.1.*127.0.0.1.5335")) then
if Process_list:find("ssrplus/bin/dns2tcp") or Process_list:find("ssrplus/bin/mosdns") or (Process_list:find("ssrplus.dns") and Process_list:find("dns2socks.127.0.0.1.*127.0.0.1.5335")) then
pdnsd_run = 1
end

Expand Down

0 comments on commit 41a1e6c

Please sign in to comment.