v1.7.10d
~修复自定义节点及自定义策略组无法被正确加载的bug ~修复TUN修复功能修复失败的bug ~修复测试工具查看yaml位置文件时显示不正确的问题 ~修复小米7000、小米万兆设备tproxy模式无法使用的问题 https://github.com/juewuy/ShellClash/pull/455
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user