1 2 3 4 5 6 7 8
#!/bin/sh # Some boards doesn't have a ETH port, but may have USB network attached if [ "$eth0.mode" != "disabled" ]; then exit 0; fi usb