* NO CARRIER :)
This commit is contained in:
parent
1cb95bd44e
commit
64c8d83559
|
@ -131,7 +131,8 @@ function initialize(cb) {
|
||||||
var propLoadOpts = {
|
var propLoadOpts = {
|
||||||
userId : 1,
|
userId : 1,
|
||||||
names : [ 'real_name', 'sex', 'email_address' ],
|
names : [ 'real_name', 'sex', 'email_address' ],
|
||||||
}
|
};
|
||||||
|
|
||||||
user.loadProperties(propLoadOpts, function propsLoaded(err, props) {
|
user.loadProperties(propLoadOpts, function propsLoaded(err, props) {
|
||||||
if(!err) {
|
if(!err) {
|
||||||
conf.config.general.sysOp = {
|
conf.config.general.sysOp = {
|
||||||
|
|
|
@ -123,7 +123,14 @@ function logoff(callingMenu, formData, extraArgs) {
|
||||||
var client = callingMenu.client;
|
var client = callingMenu.client;
|
||||||
|
|
||||||
setTimeout(function timeout() {
|
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();
|
client.end();
|
||||||
}, 500);
|
}, 500);
|
||||||
}
|
}
|
Loading…
Reference in New Issue