File zramswapoff of Package systemd-zram-service

#!/bin/bash

# Switching off swap
if [ "$(grep /dev/zram0 /proc/swaps)" != "" ]; then
swapoff /dev/zram0
fi

rmmod zram
openSUSE Build Service is sponsored by