get rid of double sendmailrestart invocation; no need for multiple sessions
[freeside.git] / bin / svc_acct_sm.export
index 2627496..56c6115 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -Tw
 #
-# $Id: svc_acct_sm.export,v 1.6 2000-07-03 09:09:14 ivan Exp $
+# $Id: svc_acct_sm.export,v 1.7 2000-07-03 09:13:10 ivan Exp $
 # 
 # Create and export config files for sendmail, qmail
 #
 # /var/spool/freeside/conf and sendmail updates ivan@sisd.com 98-aug-14
 #
 # $Log: svc_acct_sm.export,v $
-# Revision 1.6  2000-07-03 09:09:14  ivan
+# Revision 1.7  2000-07-03 09:13:10  ivan
+# get rid of double sendmailrestart invocation; no need for multiple sessions
+#
+# Revision 1.6  2000/07/03 09:09:14  ivan
 # typo
 #
 # Revision 1.5  2000/07/03 09:03:14  ivan
@@ -207,10 +210,6 @@ foreach $sendmailmachine (@sendmailmachines) {
     " )"
   )
     == 0 or die "ssh error: $!";
-  if ( $conf->config('sendmailrestart') ) {
-    ssh("root\@$sendmailmachine", $conf->config('sendmailrestart') )
-      == 0 or die "ssh error: $!";
-  }
 }
 
 my($qmailmachine);