Enable USB gadget service in images

This commit is contained in:
Test User committed 2026-07-06 00:52:34 +02:00
1 parent 9f43312ce0
commit a555055f74
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -52,6 +52,8 @@ define Package/$(PKG_NAME)/install
$(INSTALL_BIN) ./files/usb-gadget.sh $(1)/usr/sbin/usb-gadget $(INSTALL_BIN) ./files/usb-gadget.sh $(1)/usr/sbin/usb-gadget
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/usb-gadget.init $(1)/etc/init.d/usb-gadget $(INSTALL_BIN) ./files/usb-gadget.init $(1)/etc/init.d/usb-gadget
$(INSTALL_DIR) $(1)/etc/rc.d
$(LN) ../init.d/usb-gadget $(1)/etc/rc.d/S99usb-gadget
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/usbgadget.config $(1)/etc/config/usbgadget $(INSTALL_CONF) ./files/usbgadget.config $(1)/etc/config/usbgadget
endef endef
+1 -1
View File
@@ -80,7 +80,7 @@ load_config() {
log() { log() {
logger -t usb-gadget "$*" logger -t usb-gadget "$*"
echo "[$(date '+%H:%M:%S')] $*" echo "[$(date '+%H:%M:%S')] $*" >&2
} }
error() { error() {