Clear screen after setting ddns

This commit is contained in:
Bob Mottram 2018-05-12 11:22:03 +01:00
parent 3401badee7
commit 782d5567da
1 changed files with 7 additions and 1 deletions

View File

@ -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
}