v1.3.12-test

~绕过内核功能ipset模块检测修复
~优化对低版本wget命令的支持
~暂时屏蔽对dler.io的特殊处理
~精简部分代码
~修复部分情况无法正常检查更新的bug
~修复本机代理增强模式部分bug
This commit is contained in:
juewuy
2021-06-17 22:45:41 +08:00
parent 4323d8fb86
commit c0ee6d273f
4 changed files with 4 additions and 5 deletions

View File

@@ -669,6 +669,8 @@ bfstart(){
sed -Ei s/7890:7890/0:7890/g /etc/passwd
fi
if [ "$start_old" != "已开启" ];then
[ -w /etc/systemd/system/clash.service ] && servdir=/etc/systemd/system/clash.service
[ -w /usr/lib/systemd/system/clash.service ] && servdir=/usr/lib/systemd/system/clash.service
setconfig ExecStart "/bin/su\ shellclash\ -c\ \"$bindir/clash\ -d\ $bindir\"" $servdir
systemctl daemon-reload >/dev/null
fi