Verify cache size: added exit code

This commit is contained in:
Kali-
2010-10-17 21:56:20 +02:00
parent 2f1711de17
commit 4dd2e80f99

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/sbin/sh
#
# Force /system dalvik-cache on /data instead of /cache if is not large enough
#
@@ -8,3 +8,5 @@ if [ $CACHESIZE -lt 60000 ]
then
echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop
fi
exit 0