mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 04:33:16 +03:00
add nodeid to info in console #6097
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
77d268d064
commit
e8da6a607c
@ -4899,6 +4899,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
|
||||
response += '\r\nServer Connection: ' + mesh.isControlChannelConnected + ', State: ' + meshServerConnectionState + '.';
|
||||
var oldNodeId = db.Get('OldNodeId');
|
||||
if (oldNodeId != null) { response += '\r\nOldNodeID: ' + oldNodeId + '.'; }
|
||||
response += '\r\nNode ID: ' + Buffer.from(require('_agentNodeId')(), 'hex').toString('base64').replace(/\+/g, '@').replace(/\//g, '$');
|
||||
if (process.platform == 'linux' || process.platform == 'freebsd') { response += '\r\nX11 support: ' + require('monitor-info').kvm_x11_support + '.'; }
|
||||
response += '\r\nApplication Location: ' + process.cwd();
|
||||
//response += '\r\Debug Console: ' + debugConsole + '.';
|
||||
|
Loading…
Reference in New Issue
Block a user