From a7f21e2cc1986e340567e876bf5151c1b2431bc5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 14 Mar 2017 21:59:43 +0000 Subject: [PATCH] freedns code for nextcloud --- src/freedombone-app-nextcloud | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/freedombone-app-nextcloud b/src/freedombone-app-nextcloud index 0e32b6d8..557714dc 100755 --- a/src/freedombone-app-nextcloud +++ b/src/freedombone-app-nextcloud @@ -93,11 +93,6 @@ function install_interactive_nextcloud { 255) exit 1;; esac NEXTCLOUD_DOMAIN_NAME=$(cat $data | sed -n 1p) - title=$(cat $data | sed -n 2p) - if [ ${#title} -gt 1 ]; then - NEXTCLOUD_TITLE=$welcome_msg - fi - img_url=$(cat $data | sed -n 3p) if [ ${#img_url} -gt 1 ]; then NEXTCLOUD_BACKGROUND_IMAGE_URL=$img_url fi @@ -109,7 +104,7 @@ function install_interactive_nextcloud { dialog --title $"Domain name validation" --msgbox "$TEST_DOMAIN_NAME" 15 50 else if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then - NEXTCLOUD_CODE=$(cat $data | sed -n 4p) + NEXTCLOUD_CODE=$(cat $data | sed -n 2p) validate_freedns_code "$NEXTCLOUD_CODE" if [ ! $VALID_CODE ]; then NEXTCLOUD_DOMAIN_NAME=