diff --git a/src/freedombone b/src/freedombone index c89deb29..3dfef03a 100755 --- a/src/freedombone +++ b/src/freedombone @@ -439,6 +439,8 @@ function interactive_configuration { 255) exit 0;; esac + data=$(tempfile 2>/dev/null) + trap "rm -f $data" 0 1 2 5 15 dialog --backtitle "Freedombone Configuration" \ --radiolist "Choose Dynamic DNS provider:" 15 40 14 \ 1 dyndns off \ @@ -454,9 +456,13 @@ function interactive_configuration { 11 dynsip off \ 12 sitelutions off \ 13 dnsexit off \ - 14 changeip off + 14 changeip off 2> $data sel=$? case $sel in + 1) exit 0;; + 255) exit 0;; + esac + case $(cat $data) in 1) DDNS_PROVIDER="default@dyndns.org";; 2) DDNS_PROVIDER="default@freedns.afraid.org";; 3) DDNS_PROVIDER="default@zoneedit.com";;