Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/juewuy/ShellClash into ma…
Browse files Browse the repository at this point in the history
…ster
  • Loading branch information
juewuy committed Aug 1, 2023
2 parents 4bbdc3c + d2d209f commit 03871df
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/misnap_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ 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
Expand Down

0 comments on commit 03871df

Please sign in to comment.