List the backup contents

This commit is contained in:
Bob Mottram 2015-03-22 11:24:14 +00:00
parent 319aab9f00
commit ef62fbbbcf
1 changed files with 1 additions and 0 deletions

View File

@ -2125,6 +2125,7 @@ function create_backup_script {
fi
echo 'sync' >> /usr/bin/$BACKUP_SCRIPT_NAME
echo 'ls -lh $USB_MOUNT/backup' >> /usr/bin/$BACKUP_SCRIPT_NAME
echo "umount $USB_MOUNT" >> /usr/bin/$BACKUP_SCRIPT_NAME
echo 'if [ ! "$?" = "0" ]; then' >> /usr/bin/$BACKUP_SCRIPT_NAME
echo ' echo "Unable to unmount the drive. This means that the backup did not work"' >> /usr/bin/$BACKUP_SCRIPT_NAME