Update run.sh

This commit is contained in:
2022-06-13 21:08:56 -05:00
parent e25e5f536f
commit 002be2124e

12
run.sh
View File

@@ -54,16 +54,6 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
fi
fi
if [ ! -f /mnt/urbackup-backup/mounted ]; then
/bin/mount -a
sleep 10
fi
if [ -f /mnt/urbackup-backup/mounted ]; then
/opt/idssys/pibackup/pibackup.sh ${1} ${2}
else
echo "Backup folder is not mounted (/mnt/urbackup-backup)"
exit 1
fi
/opt/idssys/pibackup/pibackup.sh ${1} ${2}
exit 0