yunbridge: add linux side python code
authorJohn Crispin <redacted>
Sun, 2 Aug 2015 06:27:09 +0000 (08:27 +0200)
committerJohn Crispin <redacted>
Mon, 19 Oct 2015 10:20:11 +0000 (12:20 +0200)
commit2e57574f309eaa678ad6d22a72fc01f569a7dffd
treee16cd4833fd279ae2b39a2ea545e55d9587b85e1
parent221c1e3d03b785097907448cec13b1704122f40a
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 <redacted>
utils/yunbridge/Makefile [new file with mode: 0644]
utils/yunbridge/files/etc/config/yunbridge [new file with mode: 0644]
utils/yunbridge/files/etc/init.d/yunbridge [new file with mode: 0755]
utils/yunbridge/files/sbin/yunbridge [new file with mode: 0755]
utils/yunbridge/files/usr/bin/pretty-wifi-info.lua [new file with mode: 0755]
utils/yunbridge/files/usr/lib/lua/luci/controller/arduino/index.lua [new file with mode: 0644]
utils/yunbridge/files/usr/lib/lua/luci/sha256.lua [new file with mode: 0644]
utils/yunbridge/patches/000-scripts.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT