sm8450-common: rootdir: Update kernel post boot script from ingot UKQ1.231121.127

Change-Id: I79229b48d77c60ff53c25f9644a086e0d7ce8929
This commit is contained in:
Arian 2024-05-22 02:12:20 +02:00
parent 3b63e5b6d6
commit c1be69ec02

View file

@ -100,7 +100,10 @@ function configure_read_ahead_kb_values() {
echo $ra_kb > /sys/block/mmcblk0rpmb/bdi/read_ahead_kb
fi
for dm in $dmpts; do
echo $ra_kb > $dm
if [ `cat $(dirname $dm)/../removable` -eq 0 ]; then
echo $ra_kb > $dm
fi
done
}