From 782d5567da22adcd1b4acbfa5c2188b422092652 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 May 2018 11:22:03 +0100 Subject: [PATCH] Clear screen after setting ddns --- src/freedombone-ddns | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/freedombone-ddns b/src/freedombone-ddns index 48f1dd6a..61c1345d 100755 --- a/src/freedombone-ddns +++ b/src/freedombone-ddns @@ -131,8 +131,10 @@ function dynamic_dns_setup { fi ;; 1) rm -f "$data" + clear exit 1;; 255) rm -f "$data" + clear exit 1;; esac rm -f "$data" @@ -158,8 +160,10 @@ function dynamic_dns_setup { fi ;; 1) rm -f "$data" + clear exit 1;; 255) rm -f "$data" + clear exit 1;; esac rm -f "$data" @@ -183,7 +187,9 @@ function choose_dynamic_dns { case $sel in 0) dynamic_dns_setup ;; - 255) exit 1;; + 255) clear + exit 1 + ;; esac fi }