Created
February 11, 2023 11:44
-
-
Save ugovaretto/6366b5fd5ebb1e88a7bce79260e6ddb4 to your computer and use it in GitHub Desktop.
Enable wake-on-lan magic packet before hibernating
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# run with sudo | |
ethtool -s enp8s0 wol g | |
systemctl hibernate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment