Update setup.sh

This commit is contained in:
Jordan Wages 2025-07-25 14:51:55 -05:00
commit ee12cc20f7

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
############################################################################### ###############################################################################
# setup.sh Interactive Debian VM bootstrap wizard # # setup.sh - Interactive Debian VM bootstrap wizard #
# Jordanfriendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) # # Jordan-friendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) #
############################################################################### ###############################################################################
set -euo pipefail set -euo pipefail
@ -156,7 +156,7 @@ for host in "${CIFS_HOSTS[@]}"; do
grep -q "${host}.wageshouse" /etc/fstab || printf "# $TEMPLATE\n" "username" "password" >> /etc/fstab grep -q "${host}.wageshouse" /etc/fstab || printf "# $TEMPLATE\n" "username" "password" >> /etc/fstab
fi fi
done done
if ! mount -a 2>>"$LOGFILE"; then msg "⚠️ Some CIFS mounts failed. Rerun the script to correct credentials."; fi if ! mount -a 2>>"$LOGFILE"; then msg "⚠️ Some CIFS mounts failed. Re-run the script to correct credentials."; fi
############################################################################### ###############################################################################
# Summary # # Summary #