Additional waits

This commit is contained in:
Bob Mottram 2018-02-11 22:24:53 +00:00
parent 5b7c64a655
commit 98f460273c
1 changed files with 8 additions and 4 deletions

View File

@ -253,12 +253,16 @@ function install_bdsmail {
chmod +x /usr/bin/bdsmail_domain
# wait for domain to be generated by the daemon
sleep 10
echo $'Waiting for i2p domain to be generated...'
sleep 15
bds_domain=$(bdsmail_domain)
if [ ! $bds_domain ]; then
echo $'Failed to get the bdsmail domain'
exit 8934638
sleep 15
bds_domain=$(bdsmail_domain)
if [ ! $bds_domain ]; then
echo $'Failed to get the bdsmail domain'
exit 8934638
fi
fi
# Create mutt configuration