Skip to content

Instantly share code, notes, and snippets.

@nouvist
Created February 28, 2024 17:49
Show Gist options
  • Save nouvist/c64fa7b606c0ad6d33031feaee8cd9af to your computer and use it in GitHub Desktop.
Save nouvist/c64fa7b606c0ad6d33031feaee8cd9af to your computer and use it in GitHub Desktop.
suspend make my bios go boom and it's pricey to fix

How to Disable Suspend on Linux

Following systemctl command is written by Dustin Kirkland on askubuntu.com.

Disable

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Enable

sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment