shithub: rc

Download patch

ref: 2b1fe8c5d31e1c7af5af572d04bb0e924864244c
parent: d754412558a42ac4634732cd24ab3bb5cdf74dba
author: sl <sl@x1tit>
date: Sun Oct 12 19:24:13 EDT 2025

add on (for configuring Lenovo USB-C to Ethernet Adapter)

--- /dev/null
+++ b/on
@@ -1,0 +1,8 @@
+#!/bin/rc
+# 1. Connect Lenovo USB-C to Ethernet Adapter to computer.
+# 2. Boot computer.
+# 3. Remove and re-conncet 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
--