nsbin/wake-up

19 lines
224 B
Bash
Executable File

#!/bin/sh
host=$1; shift
case "$host" in
blank)
mac=60:a4:4c:cf:f0:25
;;
zucker)
mac=d4:9a:20:f8:cc:b4
;;
*)
echo "Unknown host $host" >&2
exit 1
;;
esac
wol "$mac"