diff options
author | Kali- <kalimero@ngi.it> | 2010-10-16 22:15:37 +0200 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2010-10-17 00:45:31 -0400 |
commit | bab56215931e84cfc6ae4574800e4748c1608fda (patch) | |
tree | 3fd46b5bb94dd794f1bbc7cef831ddf2251b4290 /prebuilt/common | |
parent | cd3599f989f2d27f85f19c2110c58a4c0108a058 (diff) | |
download | vendor_replicant-bab56215931e84cfc6ae4574800e4748c1608fda.zip vendor_replicant-bab56215931e84cfc6ae4574800e4748c1608fda.tar.gz vendor_replicant-bab56215931e84cfc6ae4574800e4748c1608fda.tar.bz2 |
Verify cache size, output can't be redirected to /dev/null
Diffstat (limited to 'prebuilt/common')
-rw-r--r-- | prebuilt/common/bin/verify_cache_partition_size.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prebuilt/common/bin/verify_cache_partition_size.sh b/prebuilt/common/bin/verify_cache_partition_size.sh index 748f6b2..9f8ea64 100644 --- a/prebuilt/common/bin/verify_cache_partition_size.sh +++ b/prebuilt/common/bin/verify_cache_partition_size.sh @@ -4,7 +4,7 @@ # CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2) -if [ $CACHESIZE \< 60000 ] +if [ $CACHESIZE -lt 60000 ] then - echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop > /dev/null 2>&1 + echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop fi |