From 8bbf83ce5f525ef4fa7b78b6bab99883f90bd808 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 25 Feb 2020 17:08:01 +0100 Subject: [PATCH] fix: [Updater] force updater update --- update/v1.0/Update.sh | 4 ++++ update/v1.5/Update.sh | 2 +- update/v1.7/Update.sh | 4 ++-- update/v2.0/Update.sh | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100755 update/v1.0/Update.sh diff --git a/update/v1.0/Update.sh b/update/v1.0/Update.sh new file mode 100755 index 00000000..c65dadde --- /dev/null +++ b/update/v1.0/Update.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# fix invalid Updater version (kill parent): +kill -SIGUSR1 `ps --pid $$ -oppid=`; exit diff --git a/update/v1.5/Update.sh b/update/v1.5/Update.sh index 70385b3d..cf70a444 100755 --- a/update/v1.5/Update.sh +++ b/update/v1.5/Update.sh @@ -52,7 +52,7 @@ echo "" echo "" echo -e $GREEN"Shutting down ARDB ..."$DEFAULT -bash ${AIL_BIN}/LAUNCH.sh -k & +bash ${AIL_BIN}/LAUNCH.sh -ks & wait echo "" diff --git a/update/v1.7/Update.sh b/update/v1.7/Update.sh index fe941541..603e9517 100755 --- a/update/v1.7/Update.sh +++ b/update/v1.7/Update.sh @@ -16,7 +16,7 @@ GREEN="\\033[1;32m" DEFAULT="\\033[0;39m" echo -e $GREEN"Shutting down AIL ..."$DEFAULT -bash ${AIL_BIN}/LAUNCH.sh -k & +bash ${AIL_BIN}/LAUNCH.sh -ks & wait echo "" @@ -51,7 +51,7 @@ echo "" echo "" echo -e $GREEN"Shutting down ARDB ..."$DEFAULT -bash ${AIL_BIN}/LAUNCH.sh -k & +bash ${AIL_BIN}/LAUNCH.sh -ks & wait echo "" diff --git a/update/v2.0/Update.sh b/update/v2.0/Update.sh index 6eccb0e3..0132ec8e 100755 --- a/update/v2.0/Update.sh +++ b/update/v2.0/Update.sh @@ -16,7 +16,7 @@ GREEN="\\033[1;32m" DEFAULT="\\033[0;39m" echo -e $GREEN"Shutting down AIL ..."$DEFAULT -bash ${AIL_BIN}/LAUNCH.sh -k +bash ${AIL_BIN}/LAUNCH.sh -ks wait echo "" @@ -69,7 +69,7 @@ python3 ${AIL_FLASK}create_default_user.py echo "" echo -e $GREEN"Shutting down ARDB ..."$DEFAULT -bash ${AIL_BIN}/LAUNCH.sh -k +bash ${AIL_BIN}/LAUNCH.sh -ks wait exit 0