usbmode: fix hotplug script name
authorFelix Fietkau <nbd@openwrt.org>
Fri, 31 May 2013 15:42:23 +0000 (15:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 31 May 2013 15:42:23 +0000 (15:42 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36813

package/system/utils/usbmode/Makefile

index 3182e7b7f5f8c153a67060d373b6bc5926e80941..491f3e572f6e84d2005e44cbdee473842925cb92 100644 (file)
@@ -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