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 Jan-Tarek Butt
parent c730110b36
commit 27c8d3907a
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"