Il 20/10/2010 17:55, Jo-Philipp Wich ha scritto:
Hi,

I'm not sure whether it is okay to unconditional assume that this device is
managed by option[1].
You are right, however I would not know how to generalize this, given
that usb-modeswitch is an external package I would just check if the file
exists. If the problem appears also with other drivers we could add
another ad-hoc fix.

What do you think?
Also can you rewrite this cat | grep | sed thing please? You can combine
those calls into a single sed command:

tVid=$(sed -ne 's/TargetVendor[^=]*=\(.*\)/\1/p' "${configs%% *}")

Also localize the variables with "local".
Ok, I will re-submit with these changes.

~ Jow
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to