ref: 27fcf28208785d14c5307ed77467170a358ccb37
dir: /on/
#!/bin/rc
# 1. Connect the Lenovo USB-C to Ethernet Adapter to the computer.
# 2. Boot the computer.
# 3. Remove and then re-connect the Lenovo USB-C to Ethernet Adapter.
# 4. Run this script.
dev=`{usbtree | grep 'Lenovo USB-C to LAN' | awk '{print $1}' | sed 's/^ep//g; s/\..*//'}
nusb/ether $dev &&
ip/ipconfig -D ether /net/etherU^$dev