sdm660-common: rootdir: always use lz4 for compression
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com> Change-Id: I955323fdc7ac3230bcf3c7a3af1ab54ad4e841e6
This commit is contained in:
parent
fa33bc54b6
commit
3c2614ac95
1 changed files with 1 additions and 3 deletions
|
@ -54,9 +54,7 @@ function configure_zram_parameters() {
|
||||||
zRamSizeBytes=4294967296
|
zRamSizeBytes=4294967296
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$low_ram" == "true" ]; then
|
|
||||||
echo lz4 > /sys/block/zram0/comp_algorithm
|
echo lz4 > /sys/block/zram0/comp_algorithm
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f /sys/block/zram0/disksize ]; then
|
if [ -f /sys/block/zram0/disksize ]; then
|
||||||
if [ -f /sys/block/zram0/use_dedup ]; then
|
if [ -f /sys/block/zram0/use_dedup ]; then
|
||||||
|
|
Loading…
Reference in a new issue