changes implementing flask

This commit is contained in:
Fr4nz D13trich 2025-10-14 13:41:05 +02:00
parent 46035e996d
commit 37800c312f

View file

@ -90,7 +90,6 @@ while true; do
echo -e "\n ${LRD}Interface not found... Try again!${CRS}\n" echo -e "\n ${LRD}Interface not found... Try again!${CRS}\n"
fi fi
done
ip4=$(/sbin/ip -o -4 addr list "$nif" | awk '{print $4}' | cut -d/ -f1) ### GET IP FOR CHOSEN INTERFACE ! 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}" echo -e "\n ${YEL}Current hostname : ${LCY}$(hostname)${CRS}"
@ -204,7 +203,7 @@ else
fi 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! " echo -e "\n ${YEL}During setup you changed this machines host name. For the change to take effect, you should reboot! "
while true; do while true; do
@ -225,7 +224,9 @@ if [ -f "/tmp/LoMeS/honacha" ]; then
done done
else else
: chmod +x lomes-app.py
./lomes-app.py &> /dev/null & disown
echo -e "\n ${LGN}Flask is running...${CRS}\n"
fi fi