瀏覽代碼

Enable sam

Bob Mottram 7 年之前
父節點
當前提交
9eaca4e4da
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      src/freedombone-app-bdsmail

+ 3
- 2
src/freedombone-app-bdsmail 查看文件

@@ -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