* 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

@ -131,7 +131,8 @@ function initialize(cb) {
var propLoadOpts = {
userId : 1,
names : [ 'real_name', 'sex', 'email_address' ],
}
};
user.loadProperties(propLoadOpts, function propsLoaded(err, props) {
if(!err) {
conf.config.general.sysOp = {

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);
}