diff --git a/wol/scripts/wakeonlanservice.sh b/wol/scripts/wakeonlanservice.sh index 6a5b53f413c4022f0edbba44041e5090655357ce..4a055909bb51b1300536bf4c6b172279ac4f7d15 100755 --- a/wol/scripts/wakeonlanservice.sh +++ b/wol/scripts/wakeonlanservice.sh @@ -30,6 +30,7 @@ netcat -k -l $IP 9999 | \ if [ $(echo "$MAC" | egrep -c "^([0-9a-f]{2}:?){6}$") -eq 1 ] then wakeonlan -i $broadcast "$MAC" + sleep 30 bootedip=`getip $MAC` echo "$bootedip" | netcat $subnet.51 9999 fi