figs/etc/local.d/zram.stop

3 lines
93 B
Text
Raw Normal View History

2021-04-13 09:20:34 +00:00
swapoff -v /dev/zram0 & echo "zram disabled"
echo 1 > /sys/block/zram0/reset
modprobe -r zram