mirror of https://github.com/hak5/shark-files.git
commit
b767b2f4ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue