use wait-kdc.sh script

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18400 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-10 10:49:42 +00:00
parent d5726ffacd
commit d8573146e7

View File

@@ -82,10 +82,10 @@ ${kadmin} check ${R} || exit 1
echo Starting kdc
${kdc} &
kdcpid=$!
sleep 2
if tail -1 messages.log | grep "No sockets" ; then
echo "The KDC failed to bind to any sockets, another KDC running ?"
sh ${srcdir}/../kdc/wait-kdc.sh
if [ "$?" != 0 ] ; then
kill ${kdcpid}
exit 1
fi