From 32715d02c1c5f0b24dc6a7e8ecc192645622b052 Mon Sep 17 00:00:00 2001 From: vacabun Date: Tue, 28 Mar 2023 00:21:24 +0800 Subject: [PATCH] fix aarch64 and armv7 bin choice --- restart.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/restart.sh b/restart.sh index 50074d4..111afe3 100755 --- a/restart.sh +++ b/restart.sh @@ -76,6 +76,10 @@ if [[ $CpuArch =~ "x86_64" ]]; then ReturnStatus=$? if_success $Text5 $Text6 $ReturnStatus elif [[ $CpuArch =~ "aarch64" ]]; then + nohup $Server_Dir/bin/clash-linux-arm64 -d $Conf_Dir &> $Log_Dir/clash.log & + ReturnStatus=$? + if_success $Text5 $Text6 $ReturnStatus +elif [[ $CpuArch =~ "armv7" ]]; then nohup $Server_Dir/bin/clash-linux-armv7 -d $Conf_Dir &> $Log_Dir/clash.log & ReturnStatus=$? if_success $Text5 $Text6 $ReturnStatus