projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b04ac6
)
* setup.c: look in both /etc/rc*.d and /etc/rc.d/rc*.d for other
author
Art Cancro
<ajc@citadel.org>
Sat, 11 Sep 2004 03:43:09 +0000
(
03:43
+0000)
committer
Art Cancro
<ajc@citadel.org>
Sat, 11 Sep 2004 03:43:09 +0000
(
03:43
+0000)
MTA's to disable
citadel/setup.c
patch
|
blob
|
history
diff --git
a/citadel/setup.c
b/citadel/setup.c
index cc9dc274e4978b3e524a5ae7fb3882edfd4992a0..bd3196adf3cfbd21069d04a7eaf9d2ae24dddd39 100644
(file)
--- 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;