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

Display a more obvious banner before the first prompt.

Soutch the ctrl/recycle semaphore after making all config changes.
No longer touch the data/fidoout.now semaphore after creating netmail message
(unnecessary as the MsgBase.save_msg() call already does this).
parent 68f59234
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,11 @@
const REVISION = "$Revision$".split(' ')[1];
var netname = "FidoNet";
var fidoaddr = load({}, 'fidoaddr.js');
print(js.exec_file + " v" + REVISION + " Initializing " + netname + " support in Synchronet");
print("Use Ctrl-C to abort the process, if desired");
print("******************************************************************************");
print("* " + js.exec_file + " v" + format("%-30s", REVISION) + " *");
print("* Initializing " + netname + " support in Synchronet *");
print("* Use Ctrl-C to abort the process if desired *");
print("******************************************************************************");
print("Reading Message Area configuration file: msgs.cnf");
var cnflib = load({}, "cnflib.js");
......@@ -206,6 +209,10 @@ if(confirm("Install BinkIT")) {
system.exec(system.exec_dir + "jsexec binkit install");
}
print("Requesting Synchronet recycle (configuration-reload)");
if(!file_touch(system.ctrl_dir + "recycle"))
alert("Recycle semaphore file update failure");
/************************/
/* SEND AREAFIX NETMAIL */
/************************/
......@@ -227,7 +234,6 @@ if(confirm("Create an AreaFix request to link ALL EchoMail areas with "
exit(1);
}
msgbase.close();
file_touch(system.data_dir + "fidoout.now");
print("AreaFix NetMail message created successfully.");
}
......@@ -237,7 +243,8 @@ if(confirm("Create an AreaFix request to link ALL EchoMail areas with "
print(netname + " initial setup completely successfully.");
print();
if(your.node == 9999) {
print("You used a temporary (e.g. /9999) node address. You will need to update your");
print("You used a temporary node address (" + fidoaddr.to_str(your) +
"). You will need to update your");
print("SCFG->Networks->FidoNet->Address once your permanent node address has been");
print("assigned to you.");
print();
......
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