projects
/
contrib
/
pines
/
genasys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1fb301
)
Fixed bug with postfix prompts being displayed during install.
author
Andy Witter
<awitter@georgialibraries.org>
Mon, 21 Oct 2013 17:42:02 +0000
(13:42 -0400)
committer
Andy Witter
<awitter@georgialibraries.org>
Mon, 21 Oct 2013 17:42:02 +0000
(13:42 -0400)
templates/setup.sh
patch
|
blob
|
history
diff --git
a/templates/setup.sh
b/templates/setup.sh
index
c95f2a2
..
c3be4fd
100755
(executable)
--- a/
templates/setup.sh
+++ b/
templates/setup.sh
@@
-167,6
+167,12
@@
echo $(date) >> "$INSTALL_LOG"
echo "Evergreen: $EG_VER" >> "$INSTALL_LOG"
echo "GenaSYS: $VERSION" >> "$INSTALL_LOG"
+### Preload debconf
+### If this node gets postfix then preconfigure Postfix.
+if [ -e "$WD/postfix.debconf" ]
+then
+ "$WD/postfix.debconf"
+fi
### Install dependencies
if [ -e tar_file_apt.list ]
@@
-222,6
+228,9
@@
fi
if [ -e "$WD/postfix.debconf" ]
then
"$WD/postfix.debconf"
+else
+ echo "Failed to pre-configure postfix"
+ sleep 4
fi
### Setup LVS servers