exit 1
fi
+MAIL=$SOURCE_DIR/mail.txt
+if [ ! -e $MAIL ] ; then
+ figlet "Warning:"
+ echo "$MAIL does not exist, something wrong with the liveboot web UI or was it simply not used at all?"
+ exit 1
+fi
+
#
# reconfigure PXE to make $TESTSERVER boot this image
#
#
# send announce mail
#
-MAIL=$SOURCE_DIR/mail.txt
-if [ ! -e $MAIL ] ; then
- figlet "Warning:"
- echo "$MAIL does not exist, something wrong with liveboot-web?"
- exit 1
-fi
mailtextbody < $MAIL ; echo
cat $MAIL | /usr/sbin/sendmail -t
echo