fix: [Updater] force updater update

This commit is contained in:
Terrtia 2020-02-25 17:08:01 +01:00
parent 0d47c6efd3
commit 8bbf83ce5f
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
4 changed files with 9 additions and 5 deletions

4
update/v1.0/Update.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
# fix invalid Updater version (kill parent):
kill -SIGUSR1 `ps --pid $$ -oppid=`; exit

View file

@ -52,7 +52,7 @@ echo ""
echo "" echo ""
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k & bash ${AIL_BIN}/LAUNCH.sh -ks &
wait wait
echo "" echo ""

View file

@ -16,7 +16,7 @@ GREEN="\\033[1;32m"
DEFAULT="\\033[0;39m" DEFAULT="\\033[0;39m"
echo -e $GREEN"Shutting down AIL ..."$DEFAULT echo -e $GREEN"Shutting down AIL ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k & bash ${AIL_BIN}/LAUNCH.sh -ks &
wait wait
echo "" echo ""
@ -51,7 +51,7 @@ echo ""
echo "" echo ""
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k & bash ${AIL_BIN}/LAUNCH.sh -ks &
wait wait
echo "" echo ""

View file

@ -16,7 +16,7 @@ GREEN="\\033[1;32m"
DEFAULT="\\033[0;39m" DEFAULT="\\033[0;39m"
echo -e $GREEN"Shutting down AIL ..."$DEFAULT echo -e $GREEN"Shutting down AIL ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k bash ${AIL_BIN}/LAUNCH.sh -ks
wait wait
echo "" echo ""
@ -69,7 +69,7 @@ python3 ${AIL_FLASK}create_default_user.py
echo "" echo ""
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k bash ${AIL_BIN}/LAUNCH.sh -ks
wait wait
exit 0 exit 0