Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1346)

Unified Diff: src/scripts/image_to_live.sh

Issue 2050001: Enhance image_to_live script to really wait till dev server is up and running. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/image_to_live.sh
diff --git a/src/scripts/image_to_live.sh b/src/scripts/image_to_live.sh
index 3eaa8fdeacca1ad877bb68cb0c0d653a17c75db3..1fcf312893d6c88ca8a3634e4a977ae2a5d4c68a 100755
--- a/src/scripts/image_to_live.sh
+++ b/src/scripts/image_to_live.sh
@@ -50,7 +50,8 @@ function start_dev_server {
./enter_chroot.sh "sudo ./start_devserver ${FLAGS_devserver_port}" &
fi
echo -n "Waiting on devserver to start"
- until netstat -anp 2>&1 | grep ${FLAGS_devserver_port} > /dev/null; do
+ until netstat -anp 2>&1 | grep 0.0.0.0:${FLAGS_devserver_port} > /dev/null
+ do
sleep .5
echo -n "."
done
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698