taller dialog
This commit is contained in:
parent
223d9931eb
commit
d268dd28d3
|
@ -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
|
||||
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue