Update run.sh
This commit is contained in:
12
run.sh
12
run.sh
@@ -54,16 +54,6 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f /mnt/urbackup-backup/mounted ]; then
|
/opt/idssys/pibackup/pibackup.sh ${1} ${2}
|
||||||
/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
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user