nefelim4ag / systemd-swap

Script for creating hybrid swap space from zram swaps, swap files and swap partitions.
GNU General Public License v3.0
550 stars 81 forks source link

Code refractor #188

Closed vilgotf closed 3 years ago

vilgotf commented 3 years ago

Code refractor allowing for fixing #177 and #176

Not perfect (see global variables), will require further work.

Style might be ugly, RFC on how to write this

if yn("zswap_enabled"):
  start_zswap()