diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/toaster | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 1c1e029838..f43bcb167e 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -309,6 +309,11 @@ fi | |||
309 | 309 | ||
310 | echo "The system will $CMD." | 310 | echo "The system will $CMD." |
311 | 311 | ||
312 | # check if addr:port is not in use | ||
313 | if [ "$CMD" == 'start' ]; then | ||
314 | python $BBBASEDIR/lib/toaster/manage.py checksocket "0.0.0.0:$WEB_PORT" || return 1 | ||
315 | fi | ||
316 | |||
312 | # Make sure it's safe to run by checking bitbake lock | 317 | # Make sure it's safe to run by checking bitbake lock |
313 | 318 | ||
314 | lock=1 | 319 | lock=1 |