Enable sam
This commit is contained in:
parent
a81a98eb53
commit
9eaca4e4da
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue