Advertisement
alexforsale

Untitled

Nov 13th, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/system/bin/sh
  2. # Copyright (C) 2014 alexforsale
  3.  
  4. # Stop if no mmcblk1p2 detected
  5. if [ ! -e /dev/block/mmcblk1p2 ]
  6. then
  7. exit
  8. fi;
  9.  
  10. ! [ -d /data/sdext2 ] && mkdir /data/sdext2
  11. mount -t ext4 -o rw /dev/block/mmcblk1p2 /data/sdext2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement