summaryrefslogtreecommitdiffstats
path: root/prebuilt/common/bin/verify_cache_partition_size.sh
diff options
context:
space:
mode:
Diffstat (limited to 'prebuilt/common/bin/verify_cache_partition_size.sh')
-rw-r--r--prebuilt/common/bin/verify_cache_partition_size.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/prebuilt/common/bin/verify_cache_partition_size.sh b/prebuilt/common/bin/verify_cache_partition_size.sh
deleted file mode 100644
index 07dd34e..0000000
--- a/prebuilt/common/bin/verify_cache_partition_size.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/sbin/sh
-#
-# Force /system dalvik-cache on /data instead of /cache if is not large enough
-#
-
-CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
-if [ $CACHESIZE -lt 60000 ]
-then
- echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop
-fi
-
-exit 0