mirror of https://github.com/hak5/shark-files.git
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
parent
9febcdee41
commit
0ad786adac
|
@ -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