8000 GitHub - pablogila/WakeMyPotato: Restart a Linux server made of a potato laptop after power outages
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pablogila/WakeMyPotato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WakeMyPotato

WakeMyPotato is a simple and last-resort systemd Linux service to keep your old potato laptop alive in the event of a power failure.

Some old machines lack Wake-On-Lan (WOL) or BIOS boot timers, making it difficult to reuse them as home servers. This service programs an rtcwake call in the next 10 minutes and safely powers down the laptop if AC fails. If present, it will safely and forcefully power off RAID HDDs to prevent mechanical wear. It will attempt to boot once power is restored.

This method is not ideal and may fail if the battery gets depleted, so it should be considered as a last-resort option for old devices without WOL nor automatic BIOS wake support.

Install from the downloaded WakeMyPotato/ folder with:

sudo bash install.sh

Check that the service is running:

systemctl status wmp.timer

Uninstall with:

sudo bash uninstall.sh

To update, simply uninstall before installing again.

Any suggestions? Please let me know! :D

About

Restart a Linux server made of a potato laptop after power outages

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0