From fda983bca35354baf71cc8035ae9e0ccbe82b85e Mon Sep 17 00:00:00 2001 From: "a624669980@163.com" Date: Thu, 30 Jun 2022 19:47:17 +0800 Subject: [PATCH] Update update.sh --- shell/update.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/shell/update.sh b/shell/update.sh index 4e2215b..f74c8dc 100644 --- a/shell/update.sh +++ b/shell/update.sh @@ -3,7 +3,7 @@ # @Author: LinkLeong link@icewhale.com # @Date: 2022-06-30 10:08:33 # @LastEditors: LinkLeong - # @LastEditTime: 2022-06-30 19:20:10 + # @LastEditTime: 2022-06-30 19:46:12 # @FilePath: /CasaOS/shell/update.sh # @Description: ### @@ -246,16 +246,6 @@ Start_CasaOS() { Show 2 "Create a system startup service for CasaOS." $sudo_cmd systemctl daemon-reload $sudo_cmd systemctl enable ${CASA_BIN} - - Show 2 "Start CasaOS service." - $sudo_cmd systemctl restart ${CASA_BIN} - - if [[ ! $(systemctl is-active ${CASA_BIN}) == "active" ]]; then - Show 1 "Failed to start, please try again." - exit 1 - else - Show 0 "Service started successfully." - fi } Check_Arch