update setup script
This commit is contained in:
parent
9e90100b9d
commit
8d99133efd
1 changed files with 4 additions and 3 deletions
|
|
@ -228,19 +228,20 @@ if [ -f "/tmp/LoMeS/honacha" ]; then
|
|||
|
||||
else
|
||||
|
||||
while true; do ### START FLASK ?
|
||||
while true; do
|
||||
echo -e "${YEL}" ### START FLASK ?
|
||||
read -p " Would you like to start flask? (Y/n) --> " flask_start
|
||||
echo -e "${CRS}"
|
||||
|
||||
if [[ "$flask_start" = "" || "$flask_start" = "y" || "$flask_start" = "Y" ]]; then
|
||||
echo -e " ${YEL}Starting flask in 10sec..."
|
||||
echo -e " ${YEL}to start flask manually, run ${LCY}python3 lomes-app.py ${YEL}from LoMeS directory${CRS}"
|
||||
echo -e " ${YEL}to start flask manually, run ${LCY}python3 lomes-app.py ${YEL}from LoMeS directory${CRS}\n"
|
||||
sleep 10s
|
||||
python3 lomes-app.py
|
||||
break
|
||||
|
||||
elif [[ "$flask_start" = "n" || "$flask_start" = "N" ]]; then
|
||||
echo -e " ${YEL}to start flask manually, run ${LCY}python3 lomes-app.py ${YEL}from LoMeS directory${CRS}"
|
||||
echo -e " ${YEL}to start flask manually, run ${LCY}python3 lomes-app.py ${YEL}from LoMeS directory${CRS}\n"
|
||||
break
|
||||
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue