autocore: drop luci ver display
This commit is contained in:
parent
3918d5f4b7
commit
08e0efdd64
@ -46,14 +46,16 @@ return L.Class.extend({
|
||||
systeminfo = data[1],
|
||||
cpubench = data[2],
|
||||
cpuinfo = data[3],
|
||||
cpuusage = data[4],
|
||||
luciversion = data[5];
|
||||
cpuusage = data[4]; //,
|
||||
// luciversion = data[5];
|
||||
|
||||
/*
|
||||
luciversion = luciversion.filter(function(l) {
|
||||
return l.match(/^\s*(luciname|luciversion)\s*=/);
|
||||
}).map(function(l) {
|
||||
return l.replace(/^\s*\w+\s*=\s*['"]([^'"]+)['"].*$/, '$1');
|
||||
}).join(' ');
|
||||
*/
|
||||
|
||||
var datestr = null;
|
||||
|
||||
@ -74,7 +76,7 @@ return L.Class.extend({
|
||||
_('Hostname'), boardinfo.hostname,
|
||||
_('Model'), boardinfo.model + cpubench.cpubench,
|
||||
_('CPU Info'), cpuinfo.cpuinfo,
|
||||
_('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description + ' / ' : '') + (luciversion || ''),
|
||||
_('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description : '')/* + ' / ' : '') + (luciversion || '')*/,
|
||||
_('Kernel Version'), boardinfo.kernel,
|
||||
_('Local Time'), datestr,
|
||||
_('Uptime'), systeminfo.uptime ? '%t'.format(systeminfo.uptime) : null,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user