Update pibackup.sh

This commit is contained in:
2022-10-08 16:44:39 -05:00
parent ce5a98ede9
commit 9b0602d1bf

View File

@@ -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