flask config added

This commit is contained in:
Fr4nz D13trich 2025-10-12 18:41:50 +02:00
parent 4e5339df5a
commit 91cc993841
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,12 @@
#!/bin/python3
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def index():
return "TEMPLATE"
app.run(host="0.0.0.0", port=5000)

View file

@ -207,6 +207,7 @@ fi
if [ -f "/tmp/LoMeS/honacha" ]; then ### HOST NAME CHANGE !? if [ -f "/tmp/LoMeS/honacha" ]; then ### 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
read -p " Would you like to reboot? (Y/n) --> " reboot read -p " Would you like to reboot? (Y/n) --> " reboot
echo -e "${CRS}" echo -e "${CRS}"