mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Code cleanup.
This commit is contained in:
@@ -613,7 +613,7 @@ function AmtStackCreateService(wsmanStack) {
|
||||
1611: 'TLS Trusted Root Certificate Removed',
|
||||
1612: 'TLS Preshared Key Set',
|
||||
1613: 'Kerberos Settings Modified',
|
||||
1614: 'Kerberos Master Key Modified',
|
||||
1614: 'Kerberos Main Key Modified',
|
||||
1615: 'Flash Wear out Counters Reset',
|
||||
1616: 'Power Package Modified',
|
||||
1617: 'Set Realm Authentication Mode',
|
||||
|
||||
@@ -50,12 +50,12 @@ function WiFiScanner()
|
||||
{
|
||||
if (process.platform == 'win32')
|
||||
{
|
||||
this.master = require('ScriptContainer').Create(15, ContainerPermissions.DEFAULT);
|
||||
this.master.parent = this;
|
||||
this.master.on('data', function (j) { this.parent.emit('accessPoint', new AccessPoint(j.ssid, j.bssid, j.lq)); });
|
||||
this.main = require('ScriptContainer').Create(15, ContainerPermissions.DEFAULT);
|
||||
this.main.parent = this;
|
||||
this.main.on('data', function (j) { this.parent.emit('accessPoint', new AccessPoint(j.ssid, j.bssid, j.lq)); });
|
||||
|
||||
this.master.addModule('wifi-scanner-windows', getJSModule('wifi-scanner-windows'));
|
||||
this.master.ExecuteString(WindowsChildScript);
|
||||
this.main.addModule('wifi-scanner-windows', getJSModule('wifi-scanner-windows'));
|
||||
this.main.ExecuteString(WindowsChildScript);
|
||||
}
|
||||
else if (process.platform == 'linux')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user