fix
This commit is contained in:
parent
5edacf8d44
commit
05129a734e
1 changed files with 5 additions and 1 deletions
|
|
@ -90,6 +90,7 @@ 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}"
|
||||||
|
|
@ -224,5 +225,8 @@ 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue