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:
Scott B 2021-08-19 05:47:04 -07:00
parent dc77af4a6c
commit b80f27a945

View file

@ -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