forked from freifunk-franken/firmware
fff-web-ui: Show only installed Software
Show in the field "Software" in the webui only installed software Check if batman-adv is installed Check if fast is installed Signed-off-by: Christian Dresel <freifunk@dresel.systems>
This commit is contained in:
parent
513301620d
commit
264645950b
|
@ -108,8 +108,12 @@ fi
|
|||
<tr><th>Firmware Version:</th><td><%= ${FIRMWARE_VERSION} %></td></tr>
|
||||
<tr><th>OpenWrt Version:</th><td><%= ${DISTRIB_DESCRIPTION} %></td></tr>
|
||||
<tr><th>Kernel Version:</th><td><% uname -s -m -r %></td></tr>
|
||||
<tr><th>Batman-Adv Version:</th><td><% cat /sys/module/batman_adv/version 2>/dev/null %></td></tr>
|
||||
<tr><th>Fastd Version:</th><td><% fastd --version 2> /dev/null | cut -d' ' -f 2 %></td></tr>
|
||||
<% if [ -e /sys/module/batman_adv/version ] ; then %>
|
||||
<tr><th>Batman-Adv Version:</th><td><% cat /sys/module/batman_adv/version 2>/dev/null %></td></tr>
|
||||
<% 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 %>
|
||||
</table>
|
||||
</fieldset>
|
||||
<form method="post">
|
||||
|
|
Loading…
Reference in New Issue