Create a gist now

Instantly share code, notes, and snippets.

Wake machine on LAN using its MAC address.
#! /usr/bin/env sh
MAC=$1
BROADCAST=$2
while sleep 0.5; do
wakeonlan -i $2 -p 7 $1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment