From 783e1f8fcfb1bdd8754447e2bb6c183cc018cf96 Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Tue, 4 Jul 2023 12:11:18 +0100 Subject: [PATCH] Update update.sh --- update.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/update.sh b/update.sh index bca0f80..c50cf65 100644 --- a/update.sh +++ b/update.sh @@ -12,8 +12,8 @@ if [ $RDLATEST == $RDCURRENT ]; then exit 0 fi -sudo systemctl stop rustdesk-hbbs.service -sudo systemctl stop rustdesk-hbbr.service +sudo systemctl stop rustdeskhbbs.service +sudo systemctl stop rustdeskhbbr.service sleep 20 ARCH=$(uname -m) @@ -107,11 +107,11 @@ fi sudo chmod +x /usr/bin/hbbs sudo chmod +x /usr/bin/hbbr -sudo systemctl start rustdesk-hbbs.service -sudo systemctl start rustdesk-hbbr.service +sudo systemctl start rustdeskhbbs.service +sudo systemctl start rustdeskhbbr.service while ! [[ $CHECK_RUSTDESK_READY ]]; do - CHECK_RUSTDESK_READY=$(sudo systemctl status rustdesk-hbbr.service | grep "Active: active (running)") + CHECK_RUSTDESK_READY=$(sudo systemctl status rustdeskhbbr.service | grep "Active: active (running)") echo -ne "Rustdesk Relay not ready yet...${NC}\n" sleep 3 done