First attempt to export the external SD data partition, then the internal one

This commit is contained in:
Cosmin Gorgovan 2016-04-29 15:31:26 +01:00
parent 274cf7c2a9
commit fd5dd3cd31

View File

@ -1,6 +1,11 @@
#!/bin/sh -e
depmod -a
modprobe g_file_storage file=/dev/mmcblk0p3
DATA_PART=/dev/mmcblk1p3
if [ ! -e $DATA_PART ]; then
DATA_PART=/dev/mmcblk0p3
fi
modprobe g_file_storage file=$DATA_PART
exit 0