parent
9a2e610c1b
commit
ac33c878cf
@ -0,0 +1,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
|
Loading…
Reference in new issue