Browse Source

List the backup contents

Bob Mottram 10 years ago
parent
commit
ef62fbbbcf
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone View File

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