Fix bad syntax on sed to enable SSLv3 for heads
authorMichael Peters <mpeters@emeralddata.net>
Thu, 11 Aug 2016 15:56:01 +0000 (11:56 -0400)
committerAndy Witter <awitter@georgialibraries.org>
Thu, 11 Aug 2016 15:56:01 +0000 (11:56 -0400)
The sed was missing the -i so brick-head setup scripts would hang because
we were not actually changing the file, just printing the output of
running the sed to the command line.

Signed-off-by: Andy Witter <awitter@georgialibraries.org>
templates/setup-head.sh

index 0834170..e9bc913 100755 (executable)
@@ -177,7 +177,7 @@ sed -i 's^NameVirtualHost^#NameVirtualHost^g' /etc/apache2/ports.conf
 
 if [ -e /etc/apache2/mods-enabled/ssl.conf ]
 then
-       sed '/SSL v2  is no longer supported/a \\tSSLProtocol all -SSLv3'
+       sed -i '/SSL v2  is no longer supported/a \\tSSLProtocol all -SSLv3'
 else
        echo "WARNING!!! Could not disable SSLv3 in apache2 conf"
        echo "/etc/apache2/mods-enabled/ssl.conf is missing."