From b74ae6b114c28f3e8786914de55b63983f10515f Mon Sep 17 00:00:00 2001 From: juewuy Date: Sun, 20 Sep 2020 18:48:27 +0800 Subject: [PATCH] =?UTF-8?q?v1.0.0beta8fix2=20~=E4=BF=AE=E5=A4=8D=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E6=9B=B4=E6=96=B0=E8=AE=A2=E9=98=85=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=87=BA=E9=94=99=E7=9A=84bug=20~=E8=B0=83=E6=95=B4=E6=9C=AC?= =?UTF-8?q?=E6=9C=BA=E4=BB=A3=E7=90=86=E5=8A=9F=E8=83=BD=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=20~=E4=BF=AE=E5=A4=8DGoogleHome=E6=97=A0=E6=B3=95=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98=20~=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E8=84=9A=E6=9C=AC=EF=BC=8C=E9=80=82=E9=85=8D?= =?UTF-8?q?=E9=83=A8=E5=88=86=E9=87=87=E7=94=A8openwrt12=E7=AD=89=E6=97=A7?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E7=9A=84=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- install_cdn.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index a0181d6..d2bd0dd 100644 --- a/install.sh +++ b/install.sh @@ -76,6 +76,7 @@ else if [ -n "$sysdir" ];then mv $dir/clash/clash.service $sysdir/clash.service #将service服务文件移动到系统目录 sed -i "s%/etc/clash%${dir}/clash%g" $sysdir/clash.service + rm -rf /etc/init.d/clash else #设为保守模式 sed -i '/start_old=*/'d $dir/clash/mark @@ -96,8 +97,7 @@ echo "export clashdir=\"$dir/clash\"" >> /etc/profile #设置clash路径环境 #删除临时文件 rm -rf /tmp/clashfm.tar.gz rm -rf $dir/clash/clashservice -rm -rf $dir/clash/clash.service -rm -rf /etc/init.d/clash +rm -rf $dir/clash/clash.service #提示 echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo ShellClash 已经安装成功! diff --git a/install_cdn.sh b/install_cdn.sh index a0181d6..d2bd0dd 100644 --- a/install_cdn.sh +++ b/install_cdn.sh @@ -76,6 +76,7 @@ else if [ -n "$sysdir" ];then mv $dir/clash/clash.service $sysdir/clash.service #将service服务文件移动到系统目录 sed -i "s%/etc/clash%${dir}/clash%g" $sysdir/clash.service + rm -rf /etc/init.d/clash else #设为保守模式 sed -i '/start_old=*/'d $dir/clash/mark @@ -96,8 +97,7 @@ echo "export clashdir=\"$dir/clash\"" >> /etc/profile #设置clash路径环境 #删除临时文件 rm -rf /tmp/clashfm.tar.gz rm -rf $dir/clash/clashservice -rm -rf $dir/clash/clash.service -rm -rf /etc/init.d/clash +rm -rf $dir/clash/clash.service #提示 echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo ShellClash 已经安装成功!