mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
13 lines
491 B
Diff
13 lines
491 B
Diff
diff --git a/client/scripts/linux b/client/scripts/linux
|
|
index 5fb16121..c4cef632 100755
|
|
--- a/client/scripts/linux
|
|
+++ b/client/scripts/linux
|
|
@@ -362,7 +362,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
|