Skip to content

Instantly share code, notes, and snippets.

View jgaydos's full-sized avatar
Status Error (4): Please try again in 5 minutes.

Jon Gaydos jgaydos

Status Error (4): Please try again in 5 minutes.
  • Earth?
View GitHub Profile
@jgaydos
jgaydos / zram.sh
Last active November 1, 2020 20:57 — forked from imZack/zram.sh
How enable zram module on kernel (debian lik distro)?
#!/bin/bash
### BEGIN INIT INFO
# Provides: zram
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Increased Performance In Linux With zRam (Virtual Swap Compressed in RAM)
# Description: Adapted from systemd scripts at https://github.com/mystilleef/FedoraZram
### END INIT INFO