~移除了clash内核及clashpre内核对redir-host模式dns的支持

~增加了为出口流量添加fwmark以防止本机流量回环的机制
~其他简单修复
This commit is contained in:
juewuy
2024-03-07 17:38:38 +08:00
parent 70464412ac
commit 553a0982e9
4 changed files with 70 additions and 60 deletions

View File

@@ -12,7 +12,7 @@ source ${CRASHDIR}/configs/command.env #加载启动命令和启动目录
start_service() {
#本机代理用户
[ -n "$(grep -E 'local_type.*增强模式' ${CRASHDIR}/configs/ShellCrash.cfg)" ] && USER=shellcrash || USER=root
[ -n "$(grep 'shellcrash:x:0:7890' /etc/passwd)" ] && USER=shellcrash || USER=root
#检测必须文件
$CRASHDIR/start.sh bfstart
if [ "$?" = "0" ];then