projects
/
project
/
luci2
/
ui.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6d89d3e7cbaaf51689b919799ad70d033cb37327
[project/luci2/ui.git]
/
luci2
/
htdocs
/
luci2
/
view
/
status.dmesg.js
1
L.ui.view.extend({
2
title: L.tr('Kernel Log'),
3
refresh: 5000,
4
execute: function() {
5
return L.system.getKernelLog(function(log) {
6
var ta = document.getElementById('syslog');
7
var lines = log.replace(/\n+$/, '').split(/\n/);
8
9
ta.rows = lines.length;
10
ta.value = lines.reverse().join("\n");
11
})
12
}
13
});