#!/bin/sh
	
#wait for network up
while [ 2 -ge "$(cat /proc/net/route | wc -l)" ] ; do
	echo "Waiting for network..."
	sleep 5
done
x11vnc $@
