setup script updated

This commit is contained in:
Fr4nz D13trich 2025-10-12 18:01:06 +02:00
parent 753511958c
commit da664519f3

View file

@ -1,4 +1,5 @@
#!/bin/bash
trap "exit" INT
mkdir -p /tmp/LoMeS
source assets/shell/colors
@ -197,15 +198,15 @@ else
fi
if ! [ -f "/tmp/LoMeS/install_log" ]; then ### LOG CHECK
echo -e "\n ${LGN}No errors while setting up...${CRS}"
echo -e "\n ${LGN}No errors while setting up...${CRS}\n"
else
echo -e "\n ${LRD}Error occured while setting up! Please check ${LCY}/tmp/LoMeS/install_log ${LRD}for details...${CRS}"
echo -e "\n ${LRD}Error occured during setup! Please check ${LCY}/tmp/LoMeS/install_log ${LRD}for details...${CRS}"
fi
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\n "
echo -e "\n ${YEL}During setup you changed this machines host name. For the change to take effect, you should reboot! "
while true; do
read -p " Would you like to reboot? (Y/n) --> " reboot
echo -e "${CRS}"