Skip to content

Rust program to hibernate, sleep or freeze a linux system in CLI using /sys/power/state file.

Notifications You must be signed in to change notification settings

antomfdez/statectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

statectl

Rust program to hibernate, sleep or freeze a linux system in CLI using /sys/power/state file.

Usage/Examples

sudo statectl [hibernate,sleep,freeze]

Compile

  git clone https://github.com/antomfdez/statectl.git
  cd statectl
  sudo cargo build
  sudo cp target/debug/statectl /usr/bin

Dowload binary

Download

How to install from releases:

tar -xf statectl.tar
cd statectl
sudo chmod +x installer.sh
sudo ./installer.sh

Screenshots

App Screenshot

About

Rust program to hibernate, sleep or freeze a linux system in CLI using /sys/power/state file.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages