From dd62ecfbebb66137d5c45b2611d28258c9af8c58 Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Mon, 17 Feb 2025 13:20:28 +0300 Subject: [PATCH] Check sing-box --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 3a6fd99..cb7387b 100755 --- a/install.sh +++ b/install.sh @@ -416,6 +416,10 @@ check_system() { } sing_box() { + if ! opkg list-installed | grep -q "^sing-box"; then + return + fi + sing_box_version=$(sing-box version | head -n 1 | awk '{print $3}') required_version="1.11.1"