Skip to content

Commit 90d26a3

Browse files
author
rswindell
committed
When run from the BBS (!jsexec), display a note that the sysop now needs to
logoff for the server to recycle and changes to take effect.
1 parent f4ff8eb commit 90d26a3

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

init-fidonet.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// $Id: init-fidonet.js,v 1.27 2020/04/18 05:55:49 rswindell Exp $
1+
// $Id: init-fidonet.js,v 1.28 2020/04/19 19:43:48 rswindell Exp $
22

33
// Initial FidoNet setup script - interactive, run via JSexec or ;exec
44

@@ -22,7 +22,7 @@
2222

2323
"use strict";
2424

25-
const REVISION = "$Revision: 1.27 $".split(' ')[1];
25+
const REVISION = "$Revision: 1.28 $".split(' ')[1];
2626
var netname;
2727
var netdns;
2828
var netzone = parseInt(argv[0], 10);
@@ -763,4 +763,9 @@ if(your.node == 9999) {
763763
print("See your 'Events' log output for outbound BinkP connections.");
764764
print("See your 'Services' log output for inbound BinkP connections.");
765765
print("Use exec/echocfg for follow-up FidoNet-related configuration.");
766+
if(!this.jsexec_revision) {
767+
print();
768+
print("It appears you have run this script from the BBS. You must log-off now for the");
769+
print("server to recycle and configuration changes to take effect.");
770+
}
766771
exit(0);

install-xtrn.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// $Id: install-xtrn.js,v 1.11 2020/04/19 02:09:02 rswindell Exp $
1+
// $Id: install-xtrn.js,v 1.12 2020/04/19 19:43:48 rswindell Exp $
22

33
// Installer for Synchronet External Programs
44

@@ -87,7 +87,7 @@
8787

8888
"use strict";
8989

90-
const REVISION = "$Revision: 1.11 $".split(' ')[1];
90+
const REVISION = "$Revision: 1.12 $".split(' ')[1];
9191
const ini_fname = "install-xtrn.ini";
9292

9393
load("sbbsdefs.js");
@@ -441,4 +441,9 @@ if(installed > 0) {
441441
print("Requesting Synchronet recycle (configuration-reload)");
442442
if(!file_touch(system.ctrl_dir + "recycle"))
443443
alert("Recycle semaphore file update failure");
444+
if(!this.jsexec_revision) {
445+
print();
446+
print("It appears you have run this script from the BBS. You must log-off now for the");
447+
print("server to recycle and configuration changes to take effect.");
448+
}
444449
}

0 commit comments

Comments
 (0)