Merge pull request #5 from ZeroChaos-/mii-swconfig

okay, that was mii fault
orig
Marc 2019-12-13 02:11:27 +00:00 committed by GitHub
commit b767b2f4ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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