🗽 Sync 2026-08-04 20:40:02

This commit is contained in:
github-actions[bot]
2026-08-04 20:40:02 +08:00
parent d56fd78efc
commit 9b522ebf42
144 changed files with 4375 additions and 3375 deletions
@@ -236,7 +236,9 @@ gen_nftset() {
nft "add set $NFTABLE_NAME $nftset_name { type $ip_type; flags interval, timeout; timeout $timeout_argument_set; gc-interval $gc_interval_time; auto-merge; }"
fi
fi
[ $# -gt 0 ] || [ ! -t 0 ] && insert_nftset "$nftset_name" "$@"
if [ $# -gt 0 ]; then
insert_nftset "$nftset_name" "$@"
fi
}
get_jump_nft() {
@@ -475,7 +475,10 @@ ln_run() {
[ -x "${file_func}" ] || echolog " - $(readlink ${file_func}) 没有执行权限,无法启动:${file_func} $*"
fi
#echo "${file_func} $*" >&2
[ -n "${file_func}" ] || echolog " - 找不到 ${ln_name},无法启动..."
[ -n "${file_func}" ] || {
echolog " - 找不到 ${ln_name},无法启动..."
return 1
}
[ "${output}" != "/dev/null" ] && [ -n "$(echo "${output}" | grep -E "default|SOCKS_")" ] && [ "${ln_name}" != "chinadns-ng" ] && {
local persist_log_path=$(config_t_get global persist_log_path)
local sys_log=$(config_t_get global sys_log "0")