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
|
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
|
read -p " Would you like to start flask? (Y/n) --> " flask_start
|
||||||
echo -e "${CRS}"
|
echo -e "${CRS}"
|
||||||
|
|
||||||
if [[ "$flask_start" = "" || "$flask_start" = "y" || "$flask_start" = "Y" ]]; then
|
if [[ "$flask_start" = "" || "$flask_start" = "y" || "$flask_start" = "Y" ]]; then
|
||||||
echo -e " ${YEL}Starting flask in 10sec..."
|
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
|
sleep 10s
|
||||||
python3 lomes-app.py
|
python3 lomes-app.py
|
||||||
break
|
break
|
||||||
|
|
||||||
elif [[ "$flask_start" = "n" || "$flask_start" = "N" ]]; then
|
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
|
break
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue