Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Usage

Immediate reboot

python3 reboot.py

Postponed reboot (server mode)

python3 reboot.py server

server mode waits infitely for a ping, then reboot. The ping can be either an Unix signal or a network connection.

Unix signal

Assuming it's running as a PID 123, trigger reboot by following command:

builtin kill -SIGUSR1 123
Network

Assuming it's IP is 192.168.0.2, run following command from a different process (or machine from same network)

wget 192.168.0.2:1234

Supported platforms

  • x86_64
  • aarch64
  • arm32
  • riscv64

About

cross-platform reboot (requires cpython and libc)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages