luci-mod-status: Add Target Platform (e.g. ath79/ipq806x/etc)
authorPaul Dee <systemcrash@users.noreply.github.com>
Mon, 6 Sep 2021 15:31:51 +0000 (17:31 +0200)
committerPaul Spooren <mail@aparcar.org>
Mon, 20 Sep 2021 21:08:21 +0000 (11:08 -1000)
revealed under:
ubus call system board
board.release.target

Useful reminder for what to download

Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/10_system.js

index ea8f2bb2394c1b3aa3d58c6de8f19f2a7354dffb..ae7efa3e75c29832d11248b3421cc4aacda47a11 100644 (file)
@@ -54,6 +54,7 @@ return baseclass.extend({
                        _('Hostname'),         boardinfo.hostname,
                        _('Model'),            boardinfo.model,
                        _('Architecture'),     boardinfo.system,
+                       _('Target Platform'),  (L.isObject(boardinfo.release) ? boardinfo.release.target : ''),
                        _('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description + ' / ' : '') + (luciversion || ''),
                        _('Kernel Version'),   boardinfo.kernel,
                        _('Local Time'),       datestr,