Modified Files:
addfiles.c delfiles.c dupefind.c filelist.c jsexec.c
makeuser.c qwknodes.c sbbs.h sbbscon.c sbbsdefs.h smbactiv.c
str_util.c textgen.c
Log Message:
Add/use a new get_ctrl_dir() function to query the SBBSCTRL env var and if
not set (or blank), use the default ("/sbbs/ctrl") and print a warning to stderr. This resolves a FAQ for sysops that struggle with setting the SBBSCTRL env var, but do have sbbs install in /sbbs or a symlink from /sbbs to where sbbs is actually installed.
Note: this function is different than the one previously defined in getctrl.c but never used. If/when we ever really need to support PREFIX, then perhaps we'll use that one (which copies a string to a buffer).
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
Who's Online
Recent Visitors
Vintagegeek
Thu Apr 18 05:31:43 2024
from
Swarthmore, Pa
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
239
Nodes:
10 (0
/
10)
Uptime:
15:18:38
Calls:
1,430
Calls today:
1
Files:
3,321
Messages:
357,617
Synchronet Oneliners
Vintagegeek@rdbbs Sun Apr 14 12:11:55 2024 Watchimg thebPhillirs game
Vintagegeek@rdbbs Mon Apr 15 04:54:50 2024 Watching KELLY CASS on TheWeatherChannel
Vintagegeek@rdbbs Mon Apr 15 15:17:04 2024 Waiting for the rain
Vintagegeek@rdbbs Tue Apr 16 05:31:35 2024 Now waiting for the Dawn
Vintagegeek@rdbbs Wed Apr 17 07:41:03 2024 Off to feed the birds
Vintagegeek@rdbbs Thu Apr 18 05:31:35 2024 Apple IIGS w WiModem or iPad Telnet in Chrome