mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
luci-app-passwall: sync with upstream source
This commit is contained in:
parent
778e87e31d
commit
863b16c609
@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-passwall
|
||||
PKG_VERSION:=3.6
|
||||
PKG_RELEASE:=31
|
||||
PKG_DATE:=20200325
|
||||
PKG_RELEASE:=32
|
||||
PKG_DATE:=20200326
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
|
@ -435,8 +435,10 @@ gen_start_config() {
|
||||
local plugin=$(config_n_get $node ss_plugin)
|
||||
if [ "$plugin" != "none" ]; then
|
||||
[ "$plugin" == "v2ray-plugin" -o "$plugin" == "obfs-local" ] && {
|
||||
local plugin_opts=""
|
||||
local opts=$(config_n_get $node ss_plugin_opts)
|
||||
plugin_params="--plugin $plugin --plugin-opts $opts"
|
||||
[ -n "$opts" ] && plugin_opts="--plugin-opts $opts"
|
||||
plugin_params="--plugin $plugin $plugin_opts"
|
||||
}
|
||||
fi
|
||||
for k in $(seq 1 $process); do
|
||||
|
@ -85,11 +85,13 @@ end
|
||||
-- 判断是否过滤节点关键字
|
||||
local filter_keyword_table = ucic2:get(application, "@global_subscribe[0]", "filter_keyword")
|
||||
local function is_filter_keyword(value)
|
||||
for k,v in ipairs(filter_keyword_table) do
|
||||
if value:find(v) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
if filter_keyword_table then
|
||||
for k,v in ipairs(filter_keyword_table) do
|
||||
if value:find(v) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user