usbmode: fix hotplug script name

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36813
This commit is contained in:
Felix Fietkau 2013-05-31 15:42:23 +00:00
parent b1df77669d
commit 452c80f8ec

View 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