update default variable settings

This commit is contained in:
Asif Bacchus 2019-01-05 05:09:26 -07:00
parent 0b6be4b96d
commit f3583f74b2
1 changed files with 3 additions and 0 deletions

View File

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