fixed missing end of if statement in generateDH section
This commit is contained in:
parent
ccca60b927
commit
bdc5aa73ca
7
setup.sh
7
setup.sh
@ -635,12 +635,12 @@ fi
|
|||||||
# notify user file updates are completed
|
# notify user file updates are completed
|
||||||
echo -e "\n${mag}---------------------${norm}"
|
echo -e "\n${mag}---------------------${norm}"
|
||||||
echo -e "${cyan}...Template files updated${norm}"
|
echo -e "${cyan}...Template files updated${norm}"
|
||||||
echo -e "\n${mag}---------------------${norm}"
|
|
||||||
|
|
||||||
|
|
||||||
# notify user and generate DHParms if necessary, otherwise end reporting section
|
# notify user and generate DHParms if necessary, otherwise end reporting section
|
||||||
|
|
||||||
if [ "${generateDH}" -eq 1 ]; then
|
if [ "${generateDH}" -eq 1 ]; then
|
||||||
|
echo -e "\n${mag}---------------------${norm}"
|
||||||
echo -e "${cyan}Generating DH-Parameters file... this may take a while${norm}"
|
echo -e "${cyan}Generating DH-Parameters file... this may take a while${norm}"
|
||||||
# delete existing (likely default) dhparam.pem
|
# delete existing (likely default) dhparam.pem
|
||||||
rm -f /etc/ssl/certs/dhparam.pem
|
rm -f /etc/ssl/certs/dhparam.pem
|
||||||
@ -653,8 +653,7 @@ if [ "${generateDH}" -eq 1 ]; then
|
|||||||
echo -e "${err}-- error generating dhparam.pem --"
|
echo -e "${err}-- error generating dhparam.pem --"
|
||||||
echo -e "you should manaully generate this file${norm}"
|
echo -e "you should manaully generate this file${norm}"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -681,4 +680,4 @@ echo -e "${mag}---------------------${norm}\n"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
Loading…
Reference in New Issue
Block a user