image_to_live: grep for listening address family-agnostically

Since devserver now listens on IPv6, this grep for the IPv4 generic
address won't work. Change to a grep for a listening socket on that
port (-l means listening only, so negates connections to it)

BUG=chromiumos:15716
TEST=image_to_live works for me again

Change-Id: Ia9ea44bbde0ce5c505bb79e8a508b1c881a26fab
Reviewed-on: http://gerrit.chromium.org/gerrit/1481
Reviewed-by: Chris Sosa <sosa@chromium.org>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-by: Scott James Remnant <keybuk@chromium.org>
diff --git a/host/image_to_live.sh b/host/image_to_live.sh
index aeeb486..6f69e44 100755
--- a/host/image_to_live.sh
+++ b/host/image_to_live.sh
@@ -152,7 +152,7 @@
 
   info "Waiting on devserver to start"
   info "note: be patient as the server generates the update before starting."
-  until netstat -anp 2>&1 | grep 0.0.0.0:${FLAGS_devserver_port} > /dev/null; do
+  until netstat -lnp 2>&1 | grep :${FLAGS_devserver_port} > /dev/null; do
     sleep 5
     echo -n "."
     if ! pgrep -f start_devserver > /dev/null; then