Last active
December 29, 2015 00:09
Revisions
-
gawel revised this gist
Nov 21, 2013 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,8 @@ fi LOG=/data/link2sd-11link2sd.log echo "$(date) mounting..." > $LOG umount /sd-ext 1>>$LOG 2>>$LOG ! [ -d /data/sdext2 ] && mkdir /data/sdext2 mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2 1>>$LOG 2>>$LOG mount >> $LOG echo "$(date) mount finished" >> $LOG -
gawel created this gist
Nov 21, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ #!/system/bin/sh if [ -f adb ]; then ./adb push 11link2sd /system/etc/init.d/11link2sd ./adb shell chown root:shell /system/etc/init.d/11link2sd ./adb shell chmod +x /system/etc/init.d/11link2sd exit fi LOG=/data/link2sd-11link2sd.log echo "$(date) mounting..." > $LOG umount /sd-ext mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2 1>>$LOG 2>>$LOG mount >> $LOG echo "$(date) mount finished" >> $LOG