Commit 36bfc122 authored by Christian Hesse's avatar Christian Hesse

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 #77Signed-off-by: Christian Hesse's avatarChristian Hesse <mail@eworm.de>
parent b8724f78
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment