Update run.sh
This commit is contained in:
1
run.sh
1
run.sh
@@ -52,6 +52,7 @@ fi
|
|||||||
if [ ! -f ${MountPoint}/mounted ]; then
|
if [ ! -f ${MountPoint}/mounted ]; then
|
||||||
mount.cifs ${ServerName} ${MountPoint} -o user=${UserName},password=${Password}
|
mount.cifs ${ServerName} ${MountPoint} -o user=${UserName},password=${Password}
|
||||||
sleep 10
|
sleep 10
|
||||||
|
echo "waiting for backup folder to mount..."
|
||||||
fi
|
fi
|
||||||
if [ -f ${MountPoint}/mounted ]; then
|
if [ -f ${MountPoint}/mounted ]; then
|
||||||
/opt/idssys/pibackup/pibackup.sh ${1} ${2}
|
/opt/idssys/pibackup/pibackup.sh ${1} ${2}
|
||||||
|
|||||||
Reference in New Issue
Block a user