From 8d802c8230708c6b5011041f110c39e95bd52d88 Mon Sep 17 00:00:00 2001 From: teasiu Date: Mon, 29 Sep 2025 04:54:26 +0800 Subject: [PATCH] update --- static/ota.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/static/ota.sh b/static/ota.sh index d2bd816..0e7ae43 100755 --- a/static/ota.sh +++ b/static/ota.sh @@ -91,13 +91,9 @@ up_kaitongfrp() { rm /usr/bin/kaitong-frp fi printStr yellow "update: update script" - if [ -f /usr/bin/setup-bt ]; then - dl_get "update/soft_init/kaitong-frp-bt-$(getconf LONG_BIT)" /tmp - mv /tmp/kaitong-frp-bt-$(getconf LONG_BIT) /usr/bin/kaitong-frp - else - dl_get "update/soft_init/kaitong-frp-$(getconf LONG_BIT)" /tmp - mv /tmp/kaitong-frp-$(getconf LONG_BIT) /usr/bin/kaitong-frp - fi + dl_get "update/soft_init/kaitong-frp-$(getconf LONG_BIT)" /tmp + mv /tmp/kaitong-frp-$(getconf LONG_BIT) /usr/bin/kaitong-frp + chmod +x /usr/bin/kaitong-frp printStr yellow "scripts updated" printf $GREEN_LINE