~增加全新的安装脚本及本地安装辅助文件

This commit is contained in:
juewuy
2021-06-08 18:10:09 +08:00
parent e7a2fe648e
commit f0da10af6e
2 changed files with 28 additions and 1 deletions

View File

@@ -99,6 +99,9 @@ gettar(){
chmod 777 $clashdir/start.sh
sed -i '/versionsh_l=*/'d $clashdir/mark
echo versionsh_l=$release_new >> $clashdir/mark
#设置更新地址
sed -i '/update_url=*/'d $clashdir/mark
echo update_url=$url >> $clashdir/mark
#设置环境变量
[ -w /opt/etc/profile ] && profile=/opt/etc/profile
[ -w /jffs/configs/profile.add ] && profile=/jffs/configs/profile.add