mirror of
https://github.com/foundObjects/zram-swap.git
synced 2026-08-13 12:33:17 +02:00
zram-swap.sh: increase swap priority
Increase zram swap priority from 5 to 15 as Arch uses swap prio 10 by default for swap partitions
This commit is contained in:
parent
dc77af4a6c
commit
b80f27a945
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ _init() {
|
|||
# cleanup the device if swap setup fails
|
||||
trap "_rem_zdev $_device" EXIT
|
||||
mkswap "$_device"
|
||||
swapon -d -p 5 "$_device"
|
||||
swapon -d -p 15 "$_device"
|
||||
trap - EXIT
|
||||
return 0
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue