Add zram rule
This commit is contained in:
parent
056ac9efe9
commit
57f6c1027c
2
drop/99-zram.rules
Normal file
2
drop/99-zram.rules
Normal file
|
@ -0,0 +1,2 @@
|
|||
# /etc/udev/rules.d/99-zram.rules
|
||||
ACTION=="add", KERNEL=="zram0", ATTR{comp_algorithm}="zstd", ATTR{disksize}="4G", RUN="/usr/bin/mkswap -U clear /dev/%k", TAG+="systemd"
|
Loading…
Reference in a new issue