update default variable settings

This commit is contained in:
Asif Bacchus 2019-01-05 05:09:26 -07:00
parent 0b6be4b96d
commit f3583f74b2

View File

@ -25,6 +25,8 @@ unset CertPath
unset KeyPath unset KeyPath
unset CAChainPath unset CAChainPath
unset DHPath unset DHPath
unset phpVersion
unset phpType
# set variables # set variables
regexIP4="(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])" regexIP4="(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])"
@ -34,6 +36,7 @@ serverNames=()
detectedIP=$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p') detectedIP=$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')
certbotFiles=(cert.pem chain.pem fullchain.pem privkey.pem) certbotFiles=(cert.pem chain.pem fullchain.pem privkey.pem)
generateDH=0 generateDH=0
usePHP=1
hostname=$(hostname) hostname=$(hostname)
configPath="./etc.${hostname}" configPath="./etc.${hostname}"