Skip to content
Snippets Groups Projects
Commit c3ab4f83 authored by rswindell's avatar rswindell
Browse files

Support 2 new modopts.ini [logon] settings:

- eval_first = a JavaScript expression to execute (almost) first thing
- eval_last = a JavaScript expression to execute as the last thing
parent 4a3e833c
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,9 @@ if(options.draw_avatar_right === undefined)
if(options.show_logon_list === undefined)
options.show_logon_list = true;
if(options.eval_first)
eval(options.eval_first);
if(user.settings & USER_ICE_COLOR) {
var cterm = load({}, "cterm_lib.js");
cterm.bright_background(true);
......@@ -197,3 +200,6 @@ if(options.rlogin_xtrn_menu
load("avatar_chooser.js");
}
}
if(options.eval_last)
eval(options.eval_last);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment