klte-common: make swap working as it should
* init: write_file: Unable to write to 'proc/sys/vm/swappiness': Invalid argument Change-Id: I05fc36074646ed23acb89d3089870aaedcce07b9
This commit is contained in:
parent
1a6fed40cd
commit
e347df7643
1 changed files with 1 additions and 3 deletions
|
@ -56,6 +56,7 @@ on init
|
|||
|
||||
on fs
|
||||
mount_all fstab.qcom
|
||||
write /proc/sys/vm/swappiness 100
|
||||
swapon_all fstab.qcom
|
||||
|
||||
restorecon_recursive /efs
|
||||
|
@ -880,9 +881,6 @@ on boot
|
|||
chmod 0600 /dev/btlock
|
||||
chown bluetooth bluetooth /dev/btlock
|
||||
|
||||
# SSWAP
|
||||
write /proc/sys/vm/swappiness 130
|
||||
|
||||
# Sensors
|
||||
chown system system /efs/prox_cal
|
||||
chmod 0640 /efs/prox_cal
|
||||
|
|
Loading…
Reference in a new issue