From c5ef0b4145ba6c566fbfddffefcf0ed390d50ab4 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 6 Nov 2025 21:03:11 -0800 Subject: [PATCH] OMG --- install.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index bbb7247..fc29afb 100755 --- a/install.sh +++ b/install.sh @@ -462,12 +462,6 @@ if [[ $(echo "${embedded}" | grep -i "^n") ]]; then fi read -p "Press enter to complete the installation, these commands saved to install_notes.txt" - - printf "\nGood time to reboot? (y/n)" - read reboot - if [[ $(echo "${reboot}" | grep -i "^y") ]]; then - sudo reboot - fi else # we are on embedded # replace "type = serial" with "type = tcp" in config.ini @@ -526,8 +520,12 @@ sudo chmod 775 "$program_path/logs" sudo chmod 775 "$program_path/data" echo "Permissions set for meshbot on logs and data directories" -printf "\nInstallation complete?\n" - +printf "\nGood time to reboot? (y/n)" +read reboot +if [[ $(echo "${reboot}" | grep -i "^y") ]]; then + sudo reboot +fi +printf "\nInstallation complete! 73\n" exit 0 # to uninstall the product run the following commands as needed