瀏覽代碼

List the backup contents

Bob Mottram 10 年之前
父節點
當前提交
ef62fbbbcf
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone 查看文件

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