* NO CARRIER :)

This commit is contained in:
Bryan Ashby 2015-08-21 13:47:01 -06:00
parent 1cb95bd44e
commit 64c8d83559
2 changed files with 10 additions and 2 deletions

View file

@ -123,7 +123,14 @@ function logoff(callingMenu, formData, extraArgs) {
var client = callingMenu.client;
setTimeout(function timeout() {
client.term.write(ansi.normal() + '\n+++ATH0\n');
//
// For giggles...
//
client.term.write(
ansi.normal() + '\n' +
require('crypto').randomBytes(Math.floor(Math.random() * 25) + 5).toString() +
'NO CARRIER');
client.end();
}, 500);
}