taller dialog

This commit is contained in:
Bob Mottram 2017-05-16 16:09:57 +01:00
parent 223d9931eb
commit d268dd28d3
2 changed files with 11 additions and 3 deletions

View File

@ -884,10 +884,18 @@ function install_xmpp_main {
fi
# create a certificate
if [[ "$(cert_exists ${DEFAULT_DOMAIN_NAME} pem)" == "0" ]]; then
if [[ "$(cert_exists xmpp)" == "0" ]]; then
if [ ! -f /etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.pem ]; then
if [ ! -f /etc/ssl/certs/xmpp.crt ]; then
${PROJECT_NAME}-addcert -h xmpp --dhkey ${DH_KEYLENGTH}
check_certificates xmpp
if [ ! -f /etc/ssl/certs/xmpp.crt ]; then
echo $'Failed to create xmpp certificate'
exit 72352
fi
if [ ! -f /etc/ssl/private/xmpp.key ]; then
echo $'Failed to create xmpp private certificate'
exit 36829
fi
fi
fi

View File

@ -253,7 +253,7 @@ function choose_dynamic_dns {
data=$(tempfile 2>/dev/null)
trap "rm -f $data" 0 1 2 5 15
dialog --backtitle $"Freedombone Configuration" \
--radiolist $"Choose Dynamic DNS provider:" 16 40 15 \
--radiolist $"Choose Dynamic DNS provider:" 23 40 23 \
1 dyndns off \
2 freedns on \
3 zoneedit off \