Move variable to start of file

This commit is contained in:
Bob Mottram 2018-05-12 11:59:25 +01:00
parent 998a98acb5
commit a1962c89d3
1 changed files with 2 additions and 2 deletions

View File

@ -33,6 +33,8 @@ export TEXTDOMAINDIR="/usr/share/locale"
source "/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-config"
DDNS_PROVIDER="none"
function update_inadyn_config {
if [ ! -f /etc/inadyn.conf ]; then
return
@ -210,8 +212,6 @@ function dynamic_dns_setup {
}
function choose_dynamic_dns {
DDNS_PROVIDER="none"
if [[ "$SYSTEM_TYPE" != "mesh"* && "$ONION_ONLY" == "no" ]]; then
dialog --title $"Dynamic DNS" \
--backtitle $"Freedombone Configuration" \