gluon-status-page: reduce usage of absolute paths in cgi-bin scripts neighbours-nodeinfo and stations

This commit is contained in:
Christof Schulze 2018-04-15 12:32:22 +02:00 committed by Matthias Schiffer
parent 35ade80f1c
commit 6dff120e3c
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 2 additions and 2 deletions

View File

@ -8,4 +8,4 @@ badrequest() {
( batctl if | cut -d: -f1 | grep -qxF "$QUERY_STRING" ) 2>/dev/null || badrequest ( batctl if | cut -d: -f1 | grep -qxF "$QUERY_STRING" ) 2>/dev/null || badrequest
exec /usr/bin/gluon-neighbour-info -s neighbour -i "$QUERY_STRING" -d ff02::2:1001 -p 1001 -r nodeinfo exec gluon-neighbour-info -s neighbour -i "$QUERY_STRING" -d ff02::2:1001 -p 1001 -r nodeinfo

View File

@ -10,4 +10,4 @@ badrequest() {
CMD="exec /lib/gluon/status-page/providers/stations '$QUERY_STRING'" CMD="exec /lib/gluon/status-page/providers/stations '$QUERY_STRING'"
exec /usr/sbin/sse-multiplex "$CMD" exec sse-multiplex "$CMD"