Last active
May 26, 2020 04:47
-
-
Save meinside/9ff7cf488e60aa704373 to your computer and use it in GitHub Desktop.
Bash script for WOL.
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
#!/bin/sh | |
# | |
# script for waking up on lan | |
# XXX - mac address to wake up | |
MAC_ADDR="01:23:45:67:AB:CD" | |
WOL="/usr/bin/wakeonlan" # apt-get install wakeonlan | |
$WOL "$MAC_ADDR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment