mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 12:05:32 -04:00
universal7885: parts: Set priority when mounting
* Also increase swappniess back, implment apply on boot
This commit is contained in:
parent
b6f9fa84e2
commit
f35f7010ff
4 changed files with 8 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ Return<void> SwapOnData::setSwapOn(){
|
|||
system(cmd.c_str());
|
||||
cmd = string("mkswap ") + string(SWAP_PATH);
|
||||
system(cmd.c_str());
|
||||
cmd = string("swapon ") + string(SWAP_PATH);
|
||||
cmd = string("swapon -p 99 ") + string(SWAP_PATH);
|
||||
system(cmd.c_str());
|
||||
return Void();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue