Add check for postfix.debconf if exist then run it.
authorAndy Witter <awitter@georgialibraries.org>
Fri, 31 May 2013 19:21:10 +0000 (15:21 -0400)
committerAndy Witter <awitter@georgialibraries.org>
Fri, 31 May 2013 19:21:10 +0000 (15:21 -0400)
templates/setup.sh

index 2dff605..c95f2a2 100755 (executable)
@@ -218,6 +218,11 @@ if [ -e debconf-settings ]
        fi
 fi
 
+### If this node gets postfix then preconfigure Postfix.
+if [ -e "$WD/postfix.debconf" ]
+then
+       "$WD/postfix.debconf"
+fi
 
 ### Setup LVS servers
 if cat /etc/hostname|grep -q lvs0; then