diff --git a/leo.mk b/leo.mk index 6d21593..dfb50bf 100644 --- a/leo.mk +++ b/leo.mk @@ -102,7 +102,6 @@ PRODUCT_COPY_FILES += \ # This file is used to install the enable RMNET and corresponding modules which dont get activated by normal module script, mount cache so that downloads work correctly PRODUCT_COPY_FILES += \ device/htc/leo/prebuilt/init.d/01modules:system/etc/init.d/01modules \ - device/htc/leo/prebuilt/init.d/02cache:system/etc/init.d/02cache \ device/htc/leo/prebuilt/init.d/10mic_level:system/etc/init.d/10mic_level \ device/htc/leo/prebuilt/init.d/97ppp:system/etc/init.d/97ppp diff --git a/prebuilt/init.d/02cache b/prebuilt/init.d/02cache deleted file mode 100755 index f8bbba2..0000000 --- a/prebuilt/init.d/02cache +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 \ No newline at end of file diff --git a/prebuilt/init.htcleo.rc b/prebuilt/init.htcleo.rc index 9190a27..dc0e8ee 100644 --- a/prebuilt/init.htcleo.rc +++ b/prebuilt/init.htcleo.rc @@ -9,10 +9,10 @@ on early-init symlink /mnt/sdcard /sdcard on fs - mount yaffs2 mtd@system /system remount + mount yaffs2 mtd@system /system remount noatime nodiratime + mount yaffs2 mtd@userdata /data remount nosuid nodev noatime nodiratime on post-fs-data - mount rootfs rootfs / remount mkdir /data/misc/wifi 0770 wifi wifi