Explorar el Código

List the backup contents

Bob Mottram hace 10 años
padre
commit
ef62fbbbcf
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone Ver fichero

@@ -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