Please take a look at my solution in the https://www.epointsystem.org/svn/vending_machine/hotspot/trunk feed.
Jo-Philipp Wich wrote: > 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 >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel