Enable sam

This commit is contained in:
Bob Mottram 2018-02-11 23:21:50 +00:00
parent a81a98eb53
commit 9eaca4e4da
1 changed files with 3 additions and 2 deletions

View File

@ -211,6 +211,7 @@ function install_bdsmail {
fi fi
install_i2p install_i2p
i2p_enable_sam
# create configuration file # create configuration file
/etc/bdsmail/bin/bdsconfig > /etc/bdsmail/config.ini /etc/bdsmail/bin/bdsconfig > /etc/bdsmail/config.ini
@ -257,11 +258,11 @@ function install_bdsmail {
# wait for domain to be generated by the daemon # wait for domain to be generated by the daemon
echo $'Waiting for i2p domain to be generated...' echo $'Waiting for i2p domain to be generated...'
sleep 20 sleep 10
bds_domain=$(bdsmail_domain) bds_domain=$(bdsmail_domain)
if [ ! $bds_domain ]; then if [ ! $bds_domain ]; then
echo $'Waiting...' echo $'Waiting...'
sleep 20 sleep 10
bds_domain=$(bdsmail_domain) bds_domain=$(bdsmail_domain)
if [ ! $bds_domain ]; then if [ ! $bds_domain ]; then
#systemctl stop bdsmail #systemctl stop bdsmail