Quellcode durchsuchen

List the backup contents

Bob Mottram vor 10 Jahren
Ursprung
Commit
ef62fbbbcf
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone Datei anzeigen

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