projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a167a21
)
Added tunnels special function for bmx6-info script
author
p4u
<hakais@gmail.com>
Tue, 25 Dec 2012 19:56:44 +0000
(20:56 +0100)
committer
p4u
<hakais@gmail.com>
Tue, 25 Dec 2012 19:56:44 +0000
(20:56 +0100)
bmx6-luci/files/www/cgi-bin/bmx6-info
patch
|
blob
|
history
diff --git
a/bmx6-luci/files/www/cgi-bin/bmx6-info
b/bmx6-luci/files/www/cgi-bin/bmx6-info
index b82f8fdf016284b2908092859fae09860131f2d8..931cbf68a4b4545246751e8cfc946fc7eeb93e33 100644
(file)
--- a/
bmx6-luci/files/www/cgi-bin/bmx6-info
+++ b/
bmx6-luci/files/www/cgi-bin/bmx6-info
@@
-95,12
+95,17
@@
if [ "$QUERY" == '$neighbours' ]; then
print_query descriptions
echo "} ] }"
exit 0
+
+else if [ "$QUERY" == '$tunnels' ]; then
+ bmx6 -c --jshow tunnels
+ exit 0
+
else
check_path "$BMX6_DIR/$QUERY"
print_query $QUERY
exit 0
fi
-
+fi
ls -1F "$BMX6_DIR"
exit 0