Update setup.sh

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

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
###############################################################################
# setup.sh Interactive Debian VM bootstrap wizard #
# Jordanfriendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) #
# setup.sh - Interactive Debian VM bootstrap wizard #
# Jordan-friendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) #
###############################################################################
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
fi
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 #