Move variable to start of file
This commit is contained in:
parent
998a98acb5
commit
a1962c89d3
|
@ -33,6 +33,8 @@ export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
source "/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-config"
|
source "/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-config"
|
||||||
|
|
||||||
|
DDNS_PROVIDER="none"
|
||||||
|
|
||||||
function update_inadyn_config {
|
function update_inadyn_config {
|
||||||
if [ ! -f /etc/inadyn.conf ]; then
|
if [ ! -f /etc/inadyn.conf ]; then
|
||||||
return
|
return
|
||||||
|
@ -210,8 +212,6 @@ function dynamic_dns_setup {
|
||||||
}
|
}
|
||||||
|
|
||||||
function choose_dynamic_dns {
|
function choose_dynamic_dns {
|
||||||
DDNS_PROVIDER="none"
|
|
||||||
|
|
||||||
if [[ "$SYSTEM_TYPE" != "mesh"* && "$ONION_ONLY" == "no" ]]; then
|
if [[ "$SYSTEM_TYPE" != "mesh"* && "$ONION_ONLY" == "no" ]]; then
|
||||||
dialog --title $"Dynamic DNS" \
|
dialog --title $"Dynamic DNS" \
|
||||||
--backtitle $"Freedombone Configuration" \
|
--backtitle $"Freedombone Configuration" \
|
||||||
|
|
Loading…
Reference in New Issue