From 002be2124ed49b95ea8a41637bcd7acbb913dae6 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 13 Jun 2022 21:08:56 -0500 Subject: [PATCH] Update run.sh --- run.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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