shithub: rc

Download patch

ref: 3e67031c4300597342cb4eb05cc121ae3518ef4b
parent: 692ccbd25f3a6891500281b2c1ac918368f6195e
author: sl <sl@rag>
date: Wed Dec 3 22:44:34 EST 2025

on: update for lenovo 7-in-1 portable usb-c mini doc g0a70065us

--- a/on
+++ b/on
@@ -3,6 +3,6 @@
 # 2. Boot computer.
 # 3. Remove and then re-connect the USB Ethernet Adapter.
 # 4. Run this script.
-dev=`{usbtree | grep LAN | awk '{print $1}' | sed 's/^ep//g; s/\..*//'}
+dev=`{usbtree | grep -e 'LAN|vid 0x17ef did 0x3098' | awk '{print $1}' | sed 's/^ep//g; s/\..*//'}
 nusb/ether $dev && 
 ip/ipconfig -D ether /net/etherU^$dev
--