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:
239
Nodes:
10 (0
/
10)
Uptime:
92:22:26
Calls:
1,412
Files:
3,257
Messages:
354,643
Synchronet Oneliners
Vintagegeek@rdbbs Fri Feb 23 05:35:04 2024 I like the Color Options
Vintagegeek@rdbbs Tue Feb 27 11:30:35 2024 They Are Really Great
Vintagegeek@rdbbs Tue Mar 5 05:42:36 2024 Unclog the drain
Vintagegeek@rdbbs Thu Mar 14 06:28:57 2024 Something in the Water
Vintagegeek@rdbbs Tue Mar 19 09:58:25 2024 Congress - bunch of monkees throwing sh^t at each other