v1.7.10d
~修复自定义节点及自定义策略组无法被正确加载的bug ~修复TUN修复功能修复失败的bug ~修复测试工具查看yaml位置文件时显示不正确的问题 ~修复小米7000、小米万兆设备tproxy模式无法使用的问题 https://github.com/juewuy/ShellClash/pull/455
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,4 +3,4 @@ clashpre_v=2022.11.25
|
|||||||
clash_v=v1.7.1
|
clash_v=v1.7.1
|
||||||
meta_v=v1.15.0
|
meta_v=v1.15.0
|
||||||
GeoIP_v=20230729
|
GeoIP_v=20230729
|
||||||
versionsh=1.7.10c
|
versionsh=1.7.10d
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) Juewuy
|
# Copyright (C) Juewuy
|
||||||
|
|
||||||
version=1.7.10c
|
version=1.7.10d
|
||||||
|
|
||||||
setdir(){
|
setdir(){
|
||||||
dir_avail(){
|
dir_avail(){
|
||||||
|
|||||||
@@ -55,18 +55,14 @@ init(){
|
|||||||
cp -f $clashdir/clashservice /etc/init.d/clash
|
cp -f $clashdir/clashservice /etc/init.d/clash
|
||||||
chmod 755 /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
|
if [ ! -f $clashdir/.dis_startup ]; then
|
||||||
#AX6S/AX6000修复tun功能
|
#AX6S/AX6000修复tun功能
|
||||||
[ -f $clashdir/configs/tun.ko ] && tunfix
|
[ -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 start
|
||||||
/etc/init.d/clash enable
|
/etc/init.d/clash enable
|
||||||
|
|||||||
Reference in New Issue
Block a user