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 🇺🇸 🇺🇸 🚀 🇬🇧
pull/5/head
Rick Farina (Zero_Chaos) 2019-12-12 21:08:17 -05:00
parent 9febcdee41
commit 0ad786adac
No known key found for this signature in database
GPG Key ID: A29433C0AA431DDC
1 changed files with 1 additions and 1 deletions

View File

@ -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