Update pibackup.sh

This commit is contained in:
2022-11-05 20:03:44 -05:00
parent e4d038cdf3
commit fafa66738e

View File

@@ -23,7 +23,8 @@ if [ "$1" != "update" ]; then
echo "$(date) - Checking for mounted Backup Drive..."
if [ ! -f ${MountPoint}/mounted ]; then
echo "$(date) - Not found, mounting drive now..."
mount.cifs ${ServerName} ${MountPoint} -o user=${UserName},password=${Password}
#mount.cifs ${ServerName} ${MountPoint} -o user=${UserName},password=${Password}
mount -a
c=0
until [ $c -gt 179 ]; do
if [ -f ${MountPoint}/mounted ]; then