diff --git a/run.sh b/run.sh index 6343034..f91f98d 100755 --- a/run.sh +++ b/run.sh @@ -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