Merge "Increase interface has link retries to 20"

This commit is contained in:
Jenkins 2016-02-12 08:26:09 +00:00 committed by Gerrit Code Review
commit e88792a3ed

View File

@ -76,7 +76,7 @@ function inspect_interface() {
local has_link local has_link
local tries local tries
for ((tries = 0; tries < 10; tries++)); do for ((tries = 0; tries < 20; tries++)); do
has_link=$(get_if_link $interface) has_link=$(get_if_link $interface)
[ "$has_link" == "1" ] && break [ "$has_link" == "1" ] && break
sleep 1 sleep 1