Skip to content

Commit

Permalink
Create /storage/sdcard0 + 1 and remove symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
dorimanx committed Oct 4, 2013
1 parent f4efe2f commit 4fc6bba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sbin/recovery-loader
Expand Up @@ -27,7 +27,8 @@ $BB mkdir /sd-ext
$BB chmod -R 777 /sd-ext

$BB rm -rf /storage
$BB mkdir /storage
$BB mkdir -p /storage/sdcard0
$BB mkdir /storage/sdcard1
$BB chmod -R 777 /storage

$BB rm -rf /etc
Expand Down Expand Up @@ -68,8 +69,6 @@ if [ -e /dev/block/mmcblk1p1 ]; then
echo "/dev/block/mmcblk1p1" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun1/file;
$BB mount -t vfat /dev/block/mmcblk0p11 /emmc-tmp;
$BB mount -t auto /dev/block/mmcblk1p1 /sdcard;
$BB ln -s /emmc-tmp /storage/sdcard0;
$BB ln -s /sdcard /storage/sdcard1;
if [ ! -e /sdcard/.android_secure ]; then
mkdir /sdcard/.android_secure;
fi;
Expand Down

0 comments on commit 4fc6bba

Please sign in to comment.