Add TACTICAL_CALL and STANDARD_CALL options and updated README

This commit is contained in:
TC² 2025-01-09 10:25:38 -05:00
parent 8b7cbc2384
commit 2ced0a83fa
4 changed files with 30 additions and 21 deletions

View file

@ -9,16 +9,18 @@ if not os.path.exists(config_file):
with open(config_file, "w") as file:
file.write("""
[DEFAULT]
MYCALL = BBS
KISS_HOST = 192.168.1.94
TACTICAL_CALL = BBS
STANDARD_CALL = TC2BBS
KISS_HOST = 127.0.0.1
KISS_PORT = 8001
BULLETIN_EXPIRATION_DAYS = 7
APRS_PATH = WIDE1-1
APRS_PATH = WIDE1-1,WIDE2-1
""")
config.read(config_file)
MYCALL = config.get("DEFAULT", "MYCALL", fallback="BBS")
TACTICAL_CALL = config.get("DEFAULT", "TACTICAL_CALL", fallback="BBS")
STANDARD_CALL = config.get("DEFAULT", "STANDARD_CALL", fallback="TC2BBS")
KISS_HOST = config.get("DEFAULT", "KISS_HOST", fallback="127.0.0.1")
KISS_PORT = config.getint("DEFAULT", "KISS_PORT", fallback=8001)
BULLETIN_EXPIRATION_DAYS = config.getint("DEFAULT", "BULLETIN_EXPIRATION_DAYS", fallback=7)