Update setup.sh
This commit is contained in:
parent
18604b4960
commit
80f2530beb
1 changed files with 2 additions and 2 deletions
4
setup.sh
4
setup.sh
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# setup.sh - Interactive Debian VM bootstrap wizard #
|
# setup.sh - Interactive Debian VM bootstrap wizard #
|
||||||
# Jordan-friendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) #
|
# Jordan-friendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) #
|
||||||
|
@ -181,7 +181,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. Re‑run 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 #
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue