mirror of
https://github.com/TheCommsChannel/TC2-APRS-BBS.git
synced 2025-06-29 00:07:21 -04:00
Add TACTICAL_CALL and STANDARD_CALL options and updated README
This commit is contained in:
parent
8b7cbc2384
commit
2ced0a83fa
4 changed files with 30 additions and 21 deletions
10
config.py
10
config.py
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue