nusbrc: ensure rpi ethernet always appears as /net/etherU0

This commit is contained in:
stanley lieber 2014-06-29 14:58:03 -04:00
parent 4ad63a4c56
commit 6a182d56b7

View file

@ -48,8 +48,9 @@ if(! nusb/usbd)
}
}&}
case *
# Raspberry Pi ethernet will always appear as /net/etherU0
if(~ $2 0424)
nusb/ether -t smsc $etherargs $id
nusb/ether -t smsc $etherargs $1:0
}
}
}