mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 09:58:40 -07:00
UPD: ocat -v shows compiled-in values, ot-recorder -V runtime ones
closes #397
This commit is contained in:
parent
5ecb2ae670
commit
eb796d619c
1
misc.c
1
misc.c
@ -281,6 +281,7 @@ void display_variables(struct udata *ud)
|
||||
d_bool("skip _demo", ud->skipdemo);
|
||||
d_bool("perform reverse geo", ud->revgeo);
|
||||
d_str("OTR_GEOKEY", ud->geokey);
|
||||
d_int("OTR_PRECISION", geohash_prec());
|
||||
d_bool("do not write .rec", ud->norec);
|
||||
|
||||
#ifdef WITH_HTTP
|
||||
|
8
ocat.c
8
ocat.c
@ -102,6 +102,11 @@ void print_versioninfo()
|
||||
#else
|
||||
printf("\tWITH_HTTP = no\n");
|
||||
#endif
|
||||
#ifdef WITH_TOURS
|
||||
printf("\tWITH_TOURS = yes\n");
|
||||
#else
|
||||
printf("\tWITH_TOURS = no\n");
|
||||
#endif
|
||||
#ifdef WITH_LUA
|
||||
printf("\tWITH_LUA = yes\n");
|
||||
#endif
|
||||
@ -115,10 +120,7 @@ void print_versioninfo()
|
||||
printf("\tWITH_KILL = yes\n");
|
||||
#endif
|
||||
printf("\tCONFIGFILE = \"%s\"\n", CONFIGFILE);
|
||||
printf("\tSTORAGEDEFAULT = \"%s\"\n", STORAGEDEFAULT);
|
||||
printf("\tSTORAGEDIR = \"%s\"\n", STORAGEDIR);
|
||||
printf("\tDOCROOT = \"%s\"\n", DOCROOT);
|
||||
printf("\tGHASHPREC = %d\n", GHASHPREC);
|
||||
printf("\tDEFAULT_HISTORY_HOURS = %d\n", DEFAULT_HISTORY_HOURS);
|
||||
printf("\tJSON_INDENT = \"%s\"\n", (JSON_INDENT) ? JSON_INDENT : "NULL");
|
||||
#if WITH_MQTT
|
||||
|
Loading…
Reference in New Issue
Block a user