yunbridge: add linux side python code

to make the bridge work we need to run an askfirst instance on the ttyS.
additionally add the lua scripts needed to make REST work. this is really ugly
code but it works. i already cleaned up to the original code, but there are still
issues such as a new luci session being created for each request.

Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
John Crispin
2015-08-02 08:27:09 +02:00
parent 221c1e3d03
commit 2e57574f30
8 changed files with 788 additions and 0 deletions
@@ -0,0 +1,6 @@
config bridge config
option socket_timeout 5
option secure_rest_api false
# remove this line to activae the yunbridge
option disabled 1