Use NCM instead of RNDIS for USB ethernet gadget

This commit is contained in:
Takumi Sueda
2026-03-20 02:49:31 +09:00
parent 805f0daebd
commit f3f5eee21b
6 changed files with 41 additions and 37 deletions
@@ -0,0 +1,9 @@
[Unit]
Description=Enable Ethernet USB Gadget
[Service]
Type=oneshot
ExecStart=/usr/bin/enable_ethernet_gadget
[Install]
WantedBy=multi-user.target
@@ -1,9 +0,0 @@
[Unit]
Description=Enable RNDIS USB Gadget
[Service]
Type=oneshot
ExecStart=/usr/bin/enable_rndis_gadget
[Install]
WantedBy=multi-user.target