From 97f4fa1a126218bf430eea94ebdccda29d8e76a5 Mon Sep 17 00:00:00 2001 From: juewuy Date: Sun, 12 Jun 2022 15:35:39 +0800 Subject: [PATCH] =?UTF-8?q?v1.6.3=20~=E8=87=AA=E5=8A=A8=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E6=9C=AC=E6=9C=BAhosts=E5=8A=9F=E8=83=BD=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E5=8A=A0=E8=BD=BDipv6=E5=9C=B0=E5=9D=80=20~=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=94=B9=E4=B8=BA=E5=90=8E=E5=8F=B0=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E4=B8=8D=E5=86=8D=E8=87=AA=E5=8A=A8=E9=87=8D=E5=90=AF?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=20~=E4=BF=AE=E5=A4=8D=E6=A2=85=E6=9E=97?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=AE=89=E8=A3=85=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/clash.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/clash.sh b/scripts/clash.sh index 26e96b2..ad99b87 100644 --- a/scripts/clash.sh +++ b/scripts/clash.sh @@ -1434,6 +1434,7 @@ clashcron(){ echo -e " 2 设置\033[31m定时停止\033[0mclash服务" echo -e " 3 设置\033[32m定时开启\033[0mclash服务" echo -e " 4 设置\033[33m定时更新\033[0m订阅并重启服务" + echo -e " 5 设置\033[33m定时更新\033[0m订阅但不重启服务" echo ----------------------------------------------- echo -e " 0 返回上级菜单" read -p "请输入对应数字 > " num @@ -1458,6 +1459,11 @@ clashcron(){ clashcron elif [ "$num" = 4 ]; then cronname=更新订阅链接 + cronset="$clashdir/start.sh getyaml && $clashdir/start.sh restart" + setcron + clashcron + elif [ "$num" = 5 ]; then + cronname=更新订阅但不重启 cronset="$clashdir/start.sh updateyaml" setcron clashcron