Browse Source

Enable sam

Bob Mottram 7 years ago
parent
commit
9eaca4e4da
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/freedombone-app-bdsmail

+ 3
- 2
src/freedombone-app-bdsmail View File

@@ -211,6 +211,7 @@ function install_bdsmail {
211 211
     fi
212 212
 
213 213
     install_i2p
214
+    i2p_enable_sam
214 215
 
215 216
     # create configuration file
216 217
     /etc/bdsmail/bin/bdsconfig > /etc/bdsmail/config.ini
@@ -257,11 +258,11 @@ function install_bdsmail {
257 258
 
258 259
     # wait for domain to be generated by the daemon
259 260
     echo $'Waiting for i2p domain to be generated...'
260
-    sleep 20
261
+    sleep 10
261 262
     bds_domain=$(bdsmail_domain)
262 263
     if [ ! $bds_domain ]; then
263 264
         echo $'Waiting...'
264
-        sleep 20
265
+        sleep 10
265 266
         bds_domain=$(bdsmail_domain)
266 267
         if [ ! $bds_domain ]; then
267 268
             #systemctl stop bdsmail