Skip to content

A really simple, bash-written configuration tool for the zRAM kernel module.

Notifications You must be signed in to change notification settings

semplice/zramcfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zramcfg

zramcfg is a really simple, bash-written configuration tool for the zRAM kernel module.

Unlike zram-config (ubuntu) and the one used in elementary OS (along with other scripts based on these), zramcfg does not provide an {init,upstart,systemd} script that gets executed at boot.
Instead, it uses udev and the modprobe configuration directories to create the zram devices.

The usage is simple: put the configuration file "zramcfg" in /etc/default/, then use

sudo ./zramcfg.sh

to enable zram, or

sudo ./zramcfg.sh -r

to disable it.

See the configuration file if you want to tweak the devices number and the size of them.

Note that if you aren't using systemd, you need to manually tell the kernel to load the 'zram' module.

About

A really simple, bash-written configuration tool for the zRAM kernel module.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages