summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-bmx7/root/www/cgi-bin
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-10-29 17:29:20 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-10-29 17:03:55 +0000
commit016941039223f1cb62a3eafa0bf2e8194f19c8a8 (patch)
tree8e06f5620ddaf5384782f77f7c12fe2c02f4c2d8 /applications/luci-app-bmx7/root/www/cgi-bin
parentf193364c2c5aadad50e118d5e0b6d59ba436a486 (diff)
luci-app-bmx7: fix displaying values
Suggested-by: FreifunkUFO <ufo@rund.freifunk.net> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'applications/luci-app-bmx7/root/www/cgi-bin')
-rwxr-xr-xapplications/luci-app-bmx7/root/www/cgi-bin/bmx7-info8
1 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-app-bmx7/root/www/cgi-bin/bmx7-info b/applications/luci-app-bmx7/root/www/cgi-bin/bmx7-info
index 7388ed12c3..327e3f0f16 100755
--- a/applications/luci-app-bmx7/root/www/cgi-bin/bmx7-info
+++ b/applications/luci-app-bmx7/root/www/cgi-bin/bmx7-info
@@ -90,7 +90,7 @@ if [ "${QUERY##*/}" == "all" ]; then
QALL=1
fi
-if [ "$QUERY" == '$info' ]; then
+if [ "$QUERY" == 'info' ]; then
echo '{ "info": [ '
print_query status
echo -n ","
@@ -100,7 +100,7 @@ if [ "$QUERY" == '$info' ]; then
echo "] }"
fi
-if [ "$QUERY" == '$neighbours' ]; then
+if [ "$QUERY" == 'neighbours' ]; then
QALL=1
echo '{ "neighbours": [ '
echo '{ "originators": '
@@ -111,11 +111,11 @@ if [ "$QUERY" == '$neighbours' ]; then
echo "} ] }"
exit 0
-else if [ "$QUERY" == '$tunnels' ]; then
+else if [ "$QUERY" == 'tunnels' ]; then
bmx7 -c --jshow tunnels /r=0
exit 0
- else if [ "$QUERY" == '$originators' ]; then
+ else if [ "$QUERY" == 'originators' ]; then
bmx7 -c --jshow originators /r=0
exit 0