setup script updated
This commit is contained in:
parent
753511958c
commit
da664519f3
1 changed files with 4 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
trap "exit" INT
|
||||||
|
|
||||||
mkdir -p /tmp/LoMeS
|
mkdir -p /tmp/LoMeS
|
||||||
source assets/shell/colors
|
source assets/shell/colors
|
||||||
|
|
@ -197,15 +198,15 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -f "/tmp/LoMeS/install_log" ]; then ### LOG CHECK
|
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
|
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
|
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\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
|
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}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue