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 chmod +x /usr/bin/bdsmail_domain
# wait for domain to be generated by the daemon # 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) bds_domain=$(bdsmail_domain)
if [ ! $bds_domain ]; then if [ ! $bds_domain ]; then
echo $'Failed to get the bdsmail domain' sleep 15
exit 8934638 bds_domain=$(bdsmail_domain)
if [ ! $bds_domain ]; then
echo $'Failed to get the bdsmail domain'
exit 8934638
fi
fi fi
# Create mutt configuration # Create mutt configuration