shithub: rc

Download patch

ref: d90bc9d9d6af464efca64214f938d648d0499aec
parent: ea1d46a06f491b08857d83829102b0df4cbe56bc
author: sl <sl@deckard>
date: Mon Mar 2 00:00:20 EST 2026

on: usbtree -> /dev/usb/*/ctl

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