Skip to content

Otakuzu/zram-service

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZRAM service

this is a simple init script compatible with sysvinit to set up zram.

this script depends on a posix shell interpreter, core utilities and zramctl

why ?

looked at other services and scripts for using zram and they were a mess to be honest

usage

the makefile should put the script in /etc/init.d/zram by default, after that a simple sudo update-rc.d zram defaults should be enough to activate it for the next boot

the service script supports the start, stop, restart and status actions along the init, end, stat and force-restart aliases.

TODO

  • make a release
  • add debian packaging "paperwork"
  • perhaps add an action in the makefile to create a .deb

About

a simplle zram initscript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 89.6%
  • Makefile 10.4%