universal7885: parts: Set priority when mounting

* Also increase swappniess back, implment apply on boot
This commit is contained in:
roynatech2544 2022-04-18 18:58:01 +09:00
commit f35f7010ff
4 changed files with 8 additions and 3 deletions

View file

@ -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();
}