Additional waits
This commit is contained in:
parent
5b7c64a655
commit
98f460273c
|
@ -253,13 +253,17 @@ 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
|
||||
sleep 15
|
||||
bds_domain=$(bdsmail_domain)
|
||||
if [ ! $bds_domain ]; then
|
||||
echo $'Failed to get the bdsmail domain'
|
||||
exit 8934638
|
||||
fi
|
||||
fi
|
||||
|
||||
# Create mutt configuration
|
||||
mkdir /etc/skel/.mutt
|
||||
|
|
Loading…
Reference in New Issue