Aparently this is needed to make usb-modeswitch work properly.
Signed-off-by: Daniel Golle <[email protected]>
diff --git a/utils/usb-modeswitch/files/modeswitch.hotplug
b/utils/usb-modeswitch/files/modeswitch.hotplug
index 1aecb1f..b689aee 100644
--- a/utils/usb-modeswitch/files/modeswitch.hotplug
+++ b/utils/usb-modeswitch/files/modeswitch.hotplug
@@ -120,7 +120,7 @@ if [ "$ACTION" = add ]; then
# If a candidate is remaining, start usb-modeswitch
[ -n "$configs" ] && {
log "$DEVICENAME: Selecting ${configs%% *} for mode
switching"
- $modeswitch -c "${configs%% *}"
+ $modeswitch -I -c "${configs%% *}"
}
}
fi
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel