mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
v1.7.10d
~修复自定义节点及自定义策略组无法被正确加载的bug ~修复TUN修复功能修复失败的bug ~修复测试工具查看yaml位置文件时显示不正确的问题 ~修复小米7000、小米万兆设备tproxy模式无法使用的问题 https://github.com/juewuy/ShellClash/pull/455
This commit is contained in:
parent
03871dfbf5
commit
ed3a7c020e
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
|
||||
meta_v=v1.15.0
|
||||
GeoIP_v=20230729
|
||||
versionsh=1.7.10c
|
||||
versionsh=1.7.10d
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
# Copyright (C) Juewuy
|
||||
|
||||
version=1.7.10c
|
||||
version=1.7.10d
|
||||
|
||||
setdir(){
|
||||
dir_avail(){
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user