~添加局域网设备过滤功能
~修复本地版本号不正常的bug
This commit is contained in:
juewuy 2020-08-14 21:31:06 +08:00
parent d2d19e01ae
commit 85de9d0bbd
2 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -250,9 +250,10 @@ if [ "$res" = '1' ]; then
[ $? -ne 0 ] && echo "文件解压失败!" && exit 1
#初始化文件目录
mv $clashdir/clashservice /etc/init.d/clash #将clash服务文件移动到系统目录
chmod 777 $clashdir/clash #授予权限
chmod 777 /etc/init.d/clash #授予权限
#写入版本号
sed -i '/versionsh_l=*/'d $ccfg
sed -i "1i\versionsh_l=$versionsh" $ccfg
#删除临时文件
rm -rf /tmp/clashfm.tar.gz
rm -rf /tmp/clashversion