forked from freifunk-franken/firmware
fff-web-ui: Show Babel in Software
Show which babel Version and program is enabled on the router in the webui Signed-off-by: Christian Dresel <freifunk@dresel.systems>
This commit is contained in:
parent
264645950b
commit
0adfa6a155
|
@ -113,7 +113,14 @@ fi
|
|||
<% fi
|
||||
if [ -f "$(command -v fastd)" ] ; then %>
|
||||
<tr><th>Fastd Version:</th><td><% fastd --version 2> /dev/null | cut -d' ' -f 2 %></td></tr>
|
||||
<% fi %>
|
||||
<% fi
|
||||
if [ -e /lib/functions/fff/babel ]; then
|
||||
. /lib/functions/fff/babel
|
||||
babel_version=$(babel_get_version)
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "<tr><th>Aktivierte Babel Version</th><td>"$babel_version"</td></tr>"
|
||||
fi
|
||||
fi %>
|
||||
</table>
|
||||
</fieldset>
|
||||
<form method="post">
|
||||
|
|
Loading…
Reference in New Issue