#!/bin/bash if [ "$IFACE" == "eth0" ]; then sleep 10 ethtool -s $IFACE wol g sleep 10 fi