Hi,

I'm not sure whether it is okay to unconditional assume that this device is
managed by option[1].

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".


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

Reply via email to