changes implementing flask
This commit is contained in:
parent
46035e996d
commit
37800c312f
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue