On Fri, 2011-07-15 at 15:35 -0400, Jason wrote: > On Fri, Jul 15, 2011 at 10:30:20AM -0700, David Woodhouse wrote: > > On Fri, 2011-07-15 at 09:54 -0400, Jason wrote: > > > > > > I was thinking about setting up a return pipe from openconnect to mtpd. > > > Would you be amenable to a patch writing the config out stdout or > > > stderr? mtpd could then configure everything as needed. No script > > > option would be necessary at all. > > > > What would that do that you can't already do with > > --script "set | grep ^CISCO >&3" > > My only concern is that vanilla Android has squat for a shell > environment. You need to use cat to copy files, etc. It wouldn't be > difficult to change later, so I'll go with this until there's a good > reason not to. Well, you don't even need the |grep part; you could do that in whatever's reading the output. -- dwmw2