we got git for history

This commit is contained in:
Christof Schulze 2016-05-01 11:27:58 +02:00
parent 0fe5bebe20
commit e2da35add3
3 changed files with 0 additions and 4 deletions

View File

@ -8,7 +8,6 @@ badrequest() {
echo 'Access-Control-Allow-Origin: *'
#batctl if | cut -d: -f1 | grep -qxF "$QUERY_STRING" || badrequest
lua -e 'mesh = require(gluon.mesh); for interface, _ in ipairs(mesh.interfaces()) do print(interface .. "\n"); end;' | grep -qxF "$QUERY_STRING" || badrequest
exec /usr/bin/gluon-neighbour-info -s neighbour -i "$QUERY_STRING" -d ff02::2:1001 -p 1001 -r nodeinfo

View File

@ -8,7 +8,6 @@ badrequest() {
echo 'Access-Control-Allow-Origin: *'
#batctl if | cut -d: -f1 | grep -qxF "$QUERY_STRING" || badrequest
lua -e 'mesh = require(gluon.mesh); for interface, _ in ipairs(mesh.interfaces()) do print(interface .. "\n"); end;' | grep -qxF "$QUERY_STRING" || badrequest
CMD="exec /lib/gluon/status-page/providers/stations '$QUERY_STRING'"

View File

@ -8,8 +8,6 @@ mesh = require 'gluon.mesh'
io.write("Access-Control-Allow-Origin: *\n")
io.write("Content-type: application/json\n\n")
-- list = util.exec('batctl if')
interfaces = {}
for interface, _ in ipairs(mesh.interfaces()) do