#!/usr/bin/env bash

# *** [ Ansible managed: DO NOT EDIT DIRECTLY ] ***

pcbuero1="90:e2:ba:0c:bb:fb"
#pcbuero2="00:1d:7d:e5:3f:9f"
pcbuero2="fc:aa:14:30:8c:35"
pcbuero2_alt="90:e2:ba:0c:bc:0e"
pcbuero3="80:ee:73:b9:8a:d6"
pcbuero4="70:85:c2:fb:6a:c8"

if [ $# = "1" ]; then
   _nic=`eval eval echo  '$'$1`
   wakeonlan $_nic
else
   wakeonlan $pcbuero1
   sleep 2
   wakeonlan $pcbuero2
   sleep 2
   wakeonlan $pcbuero3
   sleep 2
   wakeonlan $pcbuero4
   sleep 2
   wakeonlan $pcbuero2_alt
fi


exit 0
