~修复自定义节点及自定义策略组无法被正确加载的bug
~修复TUN修复功能修复失败的bug
~修复测试工具查看yaml位置文件时显示不正确的问题
~修复小米7000、小米万兆设备tproxy模式无法使用的问题 https://github.com/juewuy/ShellClash/pull/455
This commit is contained in:
juewuy 2023-08-01 22:33:44 +08:00
parent 03871dfbf5
commit ed3a7c020e
6 changed files with 7 additions and 11 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,4 +3,4 @@ clashpre_v=2022.11.25
clash_v=v1.7.1
meta_v=v1.15.0
GeoIP_v=20230729
versionsh=1.7.10c
versionsh=1.7.10d

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) Juewuy
version=1.7.10c
version=1.7.10d
setdir(){
dir_avail(){

View File

@ -55,18 +55,14 @@ init(){
cp -f $clashdir/clashservice /etc/init.d/clash
chmod 755 /etc/init.d/clash
#启动服务
#小米7000/小米万兆tproxy
if [ -f /etc/init.d/qca-nss-ecm ];then
if [ cat /proc/sys/net/bridge/bridge-nf-call-iptables ];then
sysctl -w net.bridge.bridge-nf-call-iptables=0
fi
if [ cat /proc/sys/net/bridge/bridge-nf-call-ip6tables ];then
sysctl -w net.bridge.bridge-nf-call-ip6tables=0
fi
fi
if [ ! -f $clashdir/.dis_startup ]; then
#AX6S/AX6000修复tun功能
[ -f $clashdir/configs/tun.ko ] && tunfix
#小米7000/小米万兆修复tproxy
[ -f /etc/init.d/qca-nss-ecm ] && {
[ -f /proc/sys/net/bridge/bridge-nf-call-iptables ] && sysctl -w net.bridge.bridge-nf-call-iptables=0
[ -f /proc/sys/net/bridge/bridge-nf-call-ip6tables ] && sysctl -w net.bridge.bridge-nf-call-ip6tables=0
}
#启动服务
/etc/init.d/clash start
/etc/init.d/clash enable