--- /dev/null
+#!/bin/bash
+
+# wake up specified host (parse /etc/ethers)
+
+if [ -z $1 ] ; then
+ echo
+ echo "usage: $0 <hostname>"
+ echo
+ exit
+fi
+
+cat /etc/ethers | while read host mac; do
+ if [ "$1" = "$host" ] ; then
+ echo -n "waking up $host ($mac) ..."
+ etherwake $mac
+ echo " done"
+ fi
+done
+