Skip to content

Instantly share code, notes, and snippets.

@ptisserand
Created October 2, 2017 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptisserand/25cd1153715e8731a23c95d548748215 to your computer and use it in GitHub Desktop.
Save ptisserand/25cd1153715e8731a23c95d548748215 to your computer and use it in GitHub Desktop.
shell script to use wakeonlan image docker
#!/bin/bash -e
NAS_MAC="00-11-32-44-A5-AF"
WAKE_IMG="ptisserand/wakeonlan"
docker run --rm --net=host -t ${WAKE_IMG} ${NAS_MAC}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment