Last active
September 12, 2017 08:20
-
-
Save kozak127/992d6d425a05499426bfb8b4858c5a7a to your computer and use it in GitHub Desktop.
Wake On Lan Linux
This file contains hidden or 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
WOL_DISABLE=N in /etc/default/tlp | |
NETDOWN=no in /etc/default/halt | |
sudo systemctl enable wol@eth3 |
This file contains hidden or 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
[Unit] | |
Description=Wake-on-LAN for %i | |
Requires=network.target | |
After=network.target | |
[Service] | |
ExecStart=/sbin/ethtool -s %i wol g | |
Type=oneshot | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment