From 9b0602d1bf53034c0180196a86c7fb91525fa7ad Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 8 Oct 2022 16:44:39 -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 7160752..0d5972b 100755 --- a/pibackup.sh +++ b/pibackup.sh @@ -28,13 +28,13 @@ if [ "$1" != "update" ]; then until [ $c -gt 179 ]; do if [ -f ${MountPoint}/mounted ]; then echo "$(date) - Backup Drive mounted" - c=100 + c=10000 else ((c++)) sleep 1s fi done - if [ $c != 100 ]; then + if [ $c != 10000 ]; then echo "$(date) - Backup Drive COULD NOT be mounted... exiting" exit 1 fi