blob: 748f6b2a75c996337291265214d259ebc47d3da3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/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 \< 60000 ]
then
echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop > /dev/null 2>&1
fi
|