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
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
288
Nodes:
10 (0
/
10)
Uptime:
22:28:39
Calls:
2,452
Files:
5,325
D/L today:
39 files
(8,192P bytes)
Messages:
444,161
Synchronet Oneliners
Vintagegeek@rdbbs Fri Nov 28 14:18:50 2025 Amazon Prime Green Friday
Vintagegeek@rdbbs Fri Dec 5 06:02:20 2025 Maple Leafs
Pedro Herzensbuch@rdbbs Sat Dec 6 14:51:28 2025 Van a pasar cosas
Vintagegeek@rdbbs Sun Dec 7 13:30:36 2025 Merry Christmas
Vintagegeek@rdbbs Wed Dec 10 08:04:26 2025 M E R R Y C H R I S T M A S