blob: 07777978ed431f32f47096138227872a09a9c07d [file] [log] [blame]
Brad Bishop63ae8782019-10-09 09:56:13 -04001#!/bin/sh
2
3for i in $(grep '^/dev/zram' /proc/swaps | awk '{ print $1 }'); do
4 swapoff "$i" && zramctl --reset "$i"
5done