fix_other_mtas() is old news
[citadel.git] / citadel / utils / setup.c
index b0e827455a0cd45c7219f1c4fb5e5af0bb09e84a..ae89d142b327f154ce20244d683ce53402319b8e 100644 (file)
@@ -518,15 +518,6 @@ void check_xinetd_entry(void)
 }
 
 
-void disable_other_mtas(void)
-{
-       if ((getenv("ACT_AS_MTA") == NULL) || (getenv("ACT_AS_MTA") && strcasecmp(getenv("ACT_AS_MTA"), "yes") == 0)) {
-               /* Offer to disable other MTA's on the system. */
-               /* FIXME this has to be rewritten to work in the new systemd-based world. */
-       }
-}
-
-
 void strprompt(const char *prompt_title, const char *prompt_text, char *Target, char *DefValue)
 {
        char buf[SIZ] = "";
@@ -679,6 +670,7 @@ void edit_value(int curr)
 }
 
 
+#if 0
 /*
  * Strip "db" entries out of /etc/nsswitch.conf
  */
@@ -767,6 +759,7 @@ void fixnss(void) {
        }
        unlink(new_filename);
 }
+#endif
 
 
 /*
@@ -964,8 +957,6 @@ int main(int argc, char *argv[])
        progress(activity, 5, 5);
 
        check_xinetd_entry();   /* Check /etc/xinetd.d/telnet */
-       disable_other_mtas();   /* Offer to disable other MTAs */
-       fixnss();               /* Check for the 'db' nss and offer to disable it */
 
        /*
         * Restart citserver