Add zram rule

This commit is contained in:
timoxa0 2024-08-11 16:05:43 +05:00
parent 056ac9efe9
commit 57f6c1027c

2
drop/99-zram.rules Normal file
View 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"