Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/sbin/sh
- if /tmp/busybox test -e /dev/block/bml7 ; then
- /tmp/busybox umount -1 /dev/block/stl11
- /tmp/busybox mount -t rfs /dev/block/stl11 /cache
- if ! /tmp/busybox test -d /cache/recovery ; then
- /tmp/busybox mkdir /cache/recovery
- else
- /tmp/busybox rm -rf /cache/recovery/extendedcommand
- fi
- /tmp/busybox rm -rf /mnt/sdcard/clockworkmod/.settings
- touch /mnt/sdcard/cyanogenmod.cfg
- zip_location=`grep -o 'SDCARD:.*' /tmp/recovery.log | tail -1`
- touch /cache/recovery/extendedcommand
- echo "install_zip $zip_location" > /cache/recovery/extendedcommand
- reboot recovery
- /tmp/busybox sync
- /tmp/busybox reboot now
- fi
Add Comment
Please, Sign In to add comment