#!/bin/shMAC='00:11:22:33:44:55'IP='192.168.10.100'ARP=$(arp "$IP"|awk '{print $4 $5}')[ "$ARP" = noentry ] && wol -i "$IP" "$MAC" || exitexit 0