瀏覽代碼

Missing redirection

Bob Mottram 10 年之前
父節點
當前提交
aa340480e9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh 查看文件

@@ -554,7 +554,7 @@ function script_to_make_self_signed_certificates {
554 554
   echo 'chmod 640 /etc/ssl/certs/$HOSTNAME.dhparam' >> /usr/bin/makecert
555 555
   echo 'if [ -f /etc/init.d/nginx ]; then' >> /usr/bin/makecert
556 556
   echo '  /etc/init.d/nginx reload' >> /usr/bin/makecert
557
-  echo 'fi'
557
+  echo 'fi' >> /usr/bin/makecert
558 558
   echo '# add the public certificate to a separate directory' >> /usr/bin/makecert
559 559
   echo '# so that we can redistribute it easily' >> /usr/bin/makecert
560 560
   echo 'if [ ! -d /etc/ssl/mycerts ]; then' >> /usr/bin/makecert