Several small changes
This commit is contained in:
parent
5323e1b178
commit
cf7948d309
2
TODO
2
TODO
@ -83,6 +83,8 @@ mbfido:
|
|||||||
N: Force processing of arealists so that all tags are forced to
|
N: Force processing of arealists so that all tags are forced to
|
||||||
uppercase. Seems to give problems in some nets.
|
uppercase. Seems to give problems in some nets.
|
||||||
|
|
||||||
|
N: Let mbfido areas with a special switch update area descriptions.
|
||||||
|
|
||||||
mbcico:
|
mbcico:
|
||||||
N: Implement MD5 crypt in binkp protocol driver.
|
N: Implement MD5 crypt in binkp protocol driver.
|
||||||
|
|
||||||
|
@ -1663,7 +1663,6 @@ void msged_areas(FILE *fp)
|
|||||||
|
|
||||||
fclose(no);
|
fclose(no);
|
||||||
free(temp);
|
free(temp);
|
||||||
fprintf(fp, "\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -100,6 +100,8 @@ static void die(int onsig)
|
|||||||
*/
|
*/
|
||||||
sprintf(temp, "%s/etc/msg.txt", getenv("MBSE_ROOT"));
|
sprintf(temp, "%s/etc/msg.txt", getenv("MBSE_ROOT"));
|
||||||
if ((fp = fopen(temp, "w")) != NULL) {
|
if ((fp = fopen(temp, "w")) != NULL) {
|
||||||
|
fprintf(fp, "; msg.txt -- Automatic created by mbsetup %s -- Do not edit!\n;\n", VERSION);
|
||||||
|
fprintf(fp, "; Mail areas for MsgEd.\n;\n");
|
||||||
msged_areas(fp);
|
msged_areas(fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
Syslog('+', "Created new %s", temp);
|
Syslog('+', "Created new %s", temp);
|
||||||
@ -113,7 +115,7 @@ static void die(int onsig)
|
|||||||
sprintf(temp, "%s/etc/golded.inc", getenv("MBSE_ROOT"));
|
sprintf(temp, "%s/etc/golded.inc", getenv("MBSE_ROOT"));
|
||||||
if ((fp = fopen(temp, "w")) != NULL) {
|
if ((fp = fopen(temp, "w")) != NULL) {
|
||||||
fprintf(fp, "; GoldED.inc -- Automatic created by mbsetup %s -- Do not edit!\n\n", VERSION);
|
fprintf(fp, "; GoldED.inc -- Automatic created by mbsetup %s -- Do not edit!\n\n", VERSION);
|
||||||
fprintf(fp, "; Basic information\n;\n");
|
fprintf(fp, "; Basic information.\n;\n");
|
||||||
if (strlen(CFG.sysop_name) && CFG.akavalid[0] && CFG.aka[0].zone) {
|
if (strlen(CFG.sysop_name) && CFG.akavalid[0] && CFG.aka[0].zone) {
|
||||||
fprintf(fp, "USERNAME %s\n\n", CFG.sysop_name);
|
fprintf(fp, "USERNAME %s\n\n", CFG.sysop_name);
|
||||||
fprintf(fp, "ADDRESS %s\n", aka2str(CFG.aka[0]));
|
fprintf(fp, "ADDRESS %s\n", aka2str(CFG.aka[0]));
|
||||||
@ -133,6 +135,7 @@ static void die(int onsig)
|
|||||||
|
|
||||||
gold_areas(fp);
|
gold_areas(fp);
|
||||||
}
|
}
|
||||||
|
fclose(fp);
|
||||||
Syslog('+', "Created new %s", temp);
|
Syslog('+', "Created new %s", temp);
|
||||||
} else {
|
} else {
|
||||||
WriteError("$Could not create %s", temp);
|
WriteError("$Could not create %s", temp);
|
||||||
|
Reference in New Issue
Block a user