* NO CARRIER :)
This commit is contained in:
parent
1cb95bd44e
commit
64c8d83559
|
@ -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 = {
|
||||
|
|
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue