gluon-status-page: reduce usage of absolute paths in cgi-bin scripts neighbours-nodeinfo and stations
This commit is contained in:
parent
35ade80f1c
commit
6dff120e3c
@ -8,4 +8,4 @@ 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
|
||||
|
@ -10,4 +10,4 @@ badrequest() {
|
||||
|
||||
CMD="exec /lib/gluon/status-page/providers/stations '$QUERY_STRING'"
|
||||
|
||||
exec /usr/sbin/sse-multiplex "$CMD"
|
||||
exec sse-multiplex "$CMD"
|
||||
|
Loading…
Reference in New Issue
Block a user