Merge "Increase interface has link retries to 20"
This commit is contained in:
commit
e88792a3ed
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user