From 05129a734ebe61e0ef43f95fa6f2c2382364a865 Mon Sep 17 00:00:00 2001 From: Fr4nzD13trich Date: Tue, 14 Oct 2025 14:12:01 +0200 Subject: [PATCH] fix --- lomes-setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lomes-setup.sh b/lomes-setup.sh index 89eb606..aa5ff96 100755 --- a/lomes-setup.sh +++ b/lomes-setup.sh @@ -90,6 +90,7 @@ 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}" @@ -224,5 +225,8 @@ 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 \ No newline at end of file