From 0fa2d426ac3772df82b10d939e558c4be39361ea Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 11 Sep 2004 03:43:09 +0000 Subject: [PATCH] * setup.c: look in both /etc/rc*.d and /etc/rc.d/rc*.d for other MTA's to disable --- citadel/setup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/citadel/setup.c b/citadel/setup.c index cc9dc274e..bd3196adf 100644 --- a/citadel/setup.c +++ b/citadel/setup.c @@ -609,7 +609,9 @@ void disable_other_mta(char *mta) { FILE *fp; int lines = 0; - sprintf(buf, "/bin/ls -l /etc/rc*.d/S*%s 2>/dev/null", mta); + sprintf(buf, "/bin/ls -l /etc/rc*.d/S*%s 2>/dev/null; " + "/bin/ls -l /etc/rc.d/rc*.d/S*%s 2>/dev/null", + mta, mta); fp = popen(buf, "r"); if (fp == NULL) return; -- 2.39.2