From: Timo Sirainen Date: Fri, 18 Jun 2010 15:48:20 +0000 (+0100) Subject: director-test: Added a script that generates test config files and other necessary... X-Git-Tag: 2.0.rc1~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7ef509503bb102a5e43b7188f7df1f171448142;p=thirdparty%2Fdovecot%2Fcore.git director-test: Added a script that generates test config files and other necessary info. --HG-- branch : HEAD --- diff --git a/src/director/director-test.sh b/src/director/director-test.sh new file mode 100755 index 0000000000..c29084c518 --- /dev/null +++ b/src/director/director-test.sh @@ -0,0 +1,95 @@ +#!/bin/sh + +director_count=3 + +echo "Add to /etc/hosts:" + +hosts="" +dirs="" +i=0 +while [ $i != $director_count ]; do + i=`expr $i + 1` + dirs="$dirs 127.0.1.$i" + echo "director 127.0.1.$i" + cat > dovecot-director$i.conf < dovecot-director-common.conf < dovecot-test.conf <