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:
240
Nodes:
10 (0
/
10)
Uptime:
04:30:40
Calls:
1,460
Files:
3,363
Messages:
359,388
Synchronet Oneliners
Vintagegeek@rdbbs Wed Apr 24 06:18:54 2024 Greetings Lone Star State
Vintagegeek@rdbbs Fri Apr 26 05:27:11 2024 Running out of energy. Coffee Time
Vintagegeek@rdbbs Sun Apr 28 05:40:04 2024 go giants
Vintagegeek@rdbbs Sun Apr 28 13:42:10 2024 Go Phillies
Vintagegeek@rdbbs Mon Apr 29 04:53:15 2024 Go Canucks
Vintagegeek@rdbbs Wed May 1 05:32:11 2024 Oh God Its already May