From 37800c312f4bbc62d8c73ecbe6831ba2100c9e16 Mon Sep 17 00:00:00 2001 From: Fr4nzD13trich Date: Tue, 14 Oct 2025 13:41:05 +0200 Subject: [PATCH] changes implementing flask --- lomes-setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lomes-setup.sh b/lomes-setup.sh index 894a8f1..819925e 100755 --- a/lomes-setup.sh +++ b/lomes-setup.sh @@ -90,7 +90,6 @@ while true; do echo -e "\n ${LRD}Interface not found... Try again!${CRS}\n" fi -done ip4=$(/sbin/ip -o -4 addr list "$nif" | awk '{print $4}' | cut -d/ -f1) ### GET IP FOR CHOSEN INTERFACE ! echo -e "\n ${YEL}Current hostname : ${LCY}$(hostname)${CRS}" @@ -204,7 +203,7 @@ else fi -if [ -f "/tmp/LoMeS/honacha" ]; then ### HOST NAME CHANGE !? +if [ -f "/tmp/LoMeS/honacha" ]; then ### REBOOT DUE TO HOST NAME CHANGE echo -e "\n ${YEL}During setup you changed this machines host name. For the change to take effect, you should reboot! " while true; do @@ -225,7 +224,9 @@ if [ -f "/tmp/LoMeS/honacha" ]; then done else - : + chmod +x lomes-app.py + ./lomes-app.py &> /dev/null & disown + echo -e "\n ${LGN}Flask is running...${CRS}\n" fi