From 0ad786adacfa8c621a0af8f3ae6ff33970f43f1c Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 12 Dec 2019 21:08:17 -0500 Subject: [PATCH] okay, that was mii fault mii-tool doesn't work on the SIX PORT SWITCH that the shark thinks it is. Foxtrot was kind enough to point me to swconfig. This is tested and functional :us: :us: :rocket: :gb: --- usr/bin/shark_framework | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/shark_framework b/usr/bin/shark_framework index 85f7f65..b388003 100755 --- a/usr/bin/shark_framework +++ b/usr/bin/shark_framework @@ -100,7 +100,7 @@ function execute_upgrade() { function wait_for_link() { LED LINKSETUP - while mii-tool eth0 | grep -q 'eth0: no link'; do + until swconfig dev switch0 port 0 get link | grep -q 'link:up'; do sleep 1 done LED SETUP