diff --git a/setup.sh b/setup.sh index 2839255..9d9fa7d 100755 --- a/setup.sh +++ b/setup.sh @@ -62,6 +62,7 @@ configPath="./etc.${hostname}" useSSL=0 useCertbot=0 generateDH=0 +noOSCP=0 # set tags and files to update tag_servernames="" @@ -692,8 +693,8 @@ if [ "${useSSL}" -eq 1 ]; then sed -i -e "s%${tag_cachain}%${CAChainPath}%" "${configPath}/${file_mozmodern}" # comment OSCP lines if noOSCP=1 if [ "${noOSCP}" -eq 1 ]; then - sed 's/^ssl_stapling/#ssl_stapling/g' "${configPath}/${file_mozmodern}" - sed 's/^ssl_trusted/#ssl_trusted/' "${configPath}/${file_mozmodern}" + sed -i 's/^ssl_stapling/#ssl_stapling/g' "${configPath}/${file_mozmodern}" + sed -i 's/^ssl_trusted/#ssl_trusted/' "${configPath}/${file_mozmodern}" fi fi