Browse Source

List the contents of the mount directory

Bob Mottram 10 years ago
parent
commit
59377b4151
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-prep

+ 2
- 0
src/freedombone-prep View File

162
 
162
 
163
 if [ ! -d $MICROSD_MOUNT_POINT/BOOT ]; then
163
 if [ ! -d $MICROSD_MOUNT_POINT/BOOT ]; then
164
     echo "The boot partition $MICROSD_MOUNT_POINT/BOOT was not found."
164
     echo "The boot partition $MICROSD_MOUNT_POINT/BOOT was not found."
165
+    ls $MICROSD_MOUNT_POINT
165
     exit 67857
166
     exit 67857
166
 fi
167
 fi
167
 
168
 
168
 if [ ! -d $MICROSD_MOUNT_POINT/rootfs ]; then
169
 if [ ! -d $MICROSD_MOUNT_POINT/rootfs ]; then
169
     echo "The rootfs partition $MICROSD_MOUNT_POINT/rootfs was not found."
170
     echo "The rootfs partition $MICROSD_MOUNT_POINT/rootfs was not found."
171
+    ls $MICROSD_MOUNT_POINT
170
     exit 65688
172
     exit 65688
171
 fi
173
 fi
172
 
174