#!/bin/sh

D=$(dirname $0)
pkill  -f $D/hbc 2>/dev/null
sleep 1
while true; do
	ping -qAW 6 -c 2  1.1.1.1
	if [ $? -eq 0 ]; then 
		break
	fi
done
$D/hbc $@

