From ce5a98ede94c3e27c635d4ec28d4eeb9f4c13e61 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 8 Oct 2022 16:43:54 -0500 Subject: [PATCH] Update pibackup.sh --- pibackup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pibackup.sh b/pibackup.sh index eb80da2..7160752 100755 --- a/pibackup.sh +++ b/pibackup.sh @@ -23,9 +23,9 @@ 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} c=0 - until [ $c -gt 59 ]; do + until [ $c -gt 179 ]; do if [ -f ${MountPoint}/mounted ]; then echo "$(date) - Backup Drive mounted" c=100