aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/system/utils/usbmode/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/utils/usbmode/Makefile b/package/system/utils/usbmode/Makefile
index 3182e7b7f5..491f3e572f 100644
--- a/package/system/utils/usbmode/Makefile
+++ b/package/system/utils/usbmode/Makefile
@@ -50,7 +50,7 @@ define Package/usb-modeswitch/install
perl $(PKG_BUILD_DIR)/convert-modeswitch.pl \
$(PKG_BUILD_DIR)/$(PKG_DATA_PATH)/usb_modeswitch.d/* \
> $(1)/etc/usb-mode.json
- $(CP) ./files/usbmode.hotplug $(1)/etc/hotplug.d/usb/
+ $(CP) ./files/usbmode.hotplug $(1)/etc/hotplug.d/usb/20-usb_mode
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/usbmode $(1)/sbin/
endef