浏览代码

No quotes

Bob Mottram 8 年前
父节点
当前提交
6611449670
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/freedombone-app-xmpp

+ 4
- 4
src/freedombone-app-xmpp 查看文件

362
     echo 'ssl = {' >> /etc/prosody/prosody.cfg.lua
362
     echo 'ssl = {' >> /etc/prosody/prosody.cfg.lua
363
     echo "    key = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.key\";" >> /etc/prosody/prosody.cfg.lua
363
     echo "    key = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.key\";" >> /etc/prosody/prosody.cfg.lua
364
     echo "    certificate = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem\";" >> /etc/prosody/prosody.cfg.lua
364
     echo "    certificate = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem\";" >> /etc/prosody/prosody.cfg.lua
365
-    echo "    curve = \"$XMPP_ECC_CURVE\";" >> /etc/prosody/prosody.cfg.lua
365
+    echo "    curve = $XMPP_ECC_CURVE;" >> /etc/prosody/prosody.cfg.lua
366
     echo '    depth = "1";' >> /etc/prosody/prosody.cfg.lua
366
     echo '    depth = "1";' >> /etc/prosody/prosody.cfg.lua
367
-    echo "    ciphers = \"$XMPP_CIPHERS\";" >> /etc/prosody/prosody.cfg.lua
367
+    echo "    ciphers = $XMPP_CIPHERS;" >> /etc/prosody/prosody.cfg.lua
368
     echo '    options = {"no_sslv2", "no_sslv3" };' >> /etc/prosody/prosody.cfg.lua
368
     echo '    options = {"no_sslv2", "no_sslv3" };' >> /etc/prosody/prosody.cfg.lua
369
     echo "    dhparam = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.dhparam\";" >> /etc/prosody/prosody.cfg.lua
369
     echo "    dhparam = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.dhparam\";" >> /etc/prosody/prosody.cfg.lua
370
     echo '}' >> /etc/prosody/prosody.cfg.lua
370
     echo '}' >> /etc/prosody/prosody.cfg.lua
386
     echo '    ssl = {' >> /etc/prosody/prosody.cfg.lua
386
     echo '    ssl = {' >> /etc/prosody/prosody.cfg.lua
387
     echo "        key = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.key\";" >> /etc/prosody/prosody.cfg.lua
387
     echo "        key = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.key\";" >> /etc/prosody/prosody.cfg.lua
388
     echo "        certificate = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem\";" >> /etc/prosody/prosody.cfg.lua
388
     echo "        certificate = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem\";" >> /etc/prosody/prosody.cfg.lua
389
-    echo "    curve = \"$XMPP_ECC_CURVE\";" >> /etc/prosody/prosody.cfg.lua
389
+    echo "    curve = $XMPP_ECC_CURVE;" >> /etc/prosody/prosody.cfg.lua
390
     echo '    depth = "1";' >> /etc/prosody/prosody.cfg.lua
390
     echo '    depth = "1";' >> /etc/prosody/prosody.cfg.lua
391
-    echo "    ciphers = \"$XMPP_CIPHERS\";" >> /etc/prosody/prosody.cfg.lua
391
+    echo "    ciphers = $XMPP_CIPHERS;" >> /etc/prosody/prosody.cfg.lua
392
     echo '    options = {"no_sslv2", "no_sslv3" };' >> /etc/prosody/prosody.cfg.lua
392
     echo '    options = {"no_sslv2", "no_sslv3" };' >> /etc/prosody/prosody.cfg.lua
393
     echo "    dhparam = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.dhparam\";" >> /etc/prosody/prosody.cfg.lua
393
     echo "    dhparam = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.dhparam\";" >> /etc/prosody/prosody.cfg.lua
394
     echo '    }' >> /etc/prosody/prosody.cfg.lua
394
     echo '    }' >> /etc/prosody/prosody.cfg.lua