From 36bfc122361578713f15469bd1e399959132f343 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 10 Jan 2020 22:47:52 +0100 Subject: replace deprecated ifconfig with ip For linux scripts the deprected ifconfig has been replaced with ip. However there is one leftover, replace that as well. Closes #77 Signed-off-by: Christian Hesse --- client/scripts/linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/linux b/client/scripts/linux index 0c429697..8c2ddeca 100755 --- a/client/scripts/linux +++ b/client/scripts/linux @@ -411,7 +411,7 @@ case "$reason" in interface_up_wait_time=5 for i in $(seq 0 ${interface_up_wait_time}) do - ifconfig ${interface} | grep RUNNING >/dev/null 2>&1 + ${ip} link show dev ${interface} | grep -q LOWER_UP 2>&1 if [ $? -eq 0 ]; then break; fi -- cgit v1.2.1