Arif Ali
63995b33cf
* changed a few permissions * moved init.d * made sure that the usb mass storage will work * maybe multi-touch will now work
12 lines
286 B
Bash
Executable File
12 lines
286 B
Bash
Executable File
#!/system/bin/sh
|
|
|
|
cache_partition=`grep cache /proc/mtd | cut -d: -f1 | sed 's/mtd/mtdblock/'`
|
|
|
|
umount /cache
|
|
rmdir /cache
|
|
mkdir /mnt/cache
|
|
mkdir /data/cache
|
|
mount -t yaffs2 -o rw /dev/block/$cache_partition /mnt/cache
|
|
ln -s /data/cache /cache
|
|
ln -s /mnt/cache/recovery /cache/recovery
|