Skip to content
Snippets Groups Projects
Verified Commit f2b5ee19 authored by David Beniamine's avatar David Beniamine
Browse files

Comment debug stuff

parent 91c5c7d5
Loading
......@@ -27,14 +27,14 @@ subnet=$(ip a | awk '/inet.*containers/ {print $2}' | cut -d / -f 1 | cut -d . -
while true
do
MAC=`netcat -l $IP 9999`
echo "$MAC"
#echo "$MAC"
if [ $(echo "$MAC" | egrep -c "^([0-9a-f]{2}:?){6}$") -eq 1 ]
then
wakeonlan -i $broadcast "$MAC"
sleep 5
bootedip=`getip $MAC`
echo "Sending ip"
#echo "Sending ip"
echo "$bootedip" | netcat $subnet.51 9999
echo "Done"
#echo "Done"
fi
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment