1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

fix default linuxshell for mobile ui #6275

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-07-24 10:15:43 +01:00
parent 1cfe0e2c31
commit 10b57dcf9e
3 changed files with 3 additions and 4 deletions

View file

@ -5409,6 +5409,7 @@
if (termoptions.protocol == 1) { termoptions.protocol = 6; } // Switch to Powershell
}
}
*/
// If the server requires a shell type
if ((serverinfo.linuxshell) != null && (currentNode.agent.id > 4)) {
@ -5416,7 +5417,6 @@
if (serverinfo.linuxshell == 'user') { termoptions.protocol = 8; delete termoptions.requireLogin; }
if (serverinfo.linuxshell == 'login') { termoptions.protocol = 1; termoptions.requireLogin = true; }
}
*/
// Setup a mesh agent xterm terminal
QV('termarea3xdiv', true);