stop=0
echo "Wacht op netwerk..."
while [ $stop = 0 ] ; do
    ping -c1 192.168.1.1 >/dev/null 2>&1
    if test $? = 0; then stop=1; fi
done
