code index

This commit is contained in:
Bob Mottram 2017-07-25 21:42:08 +01:00
parent 21d1f73df6
commit ae396b0e63
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ function install_interactive_kanboard {
--title $"KanBoard Configuration" \
--form $"\nPlease enter your KanBoard details. The background image URL can be left blank.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 16 65 2 \
$"Domain:" 1 1 "$(grep 'KANBOARD_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
$"Code:" 4 1 "$(grep 'KANBOARD_CODE' temp.cfg | awk -F '=' '{print $2}')" 4 25 33 255 \
$"Code:" 2 1 "$(grep 'KANBOARD_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 25 33 255 \
2> $data
else
dialog --backtitle $"Freedombone Configuration" \
@ -115,7 +115,7 @@ function install_interactive_kanboard {
dialog --title $"Domain name validation" --msgbox "$TEST_DOMAIN_NAME" 15 50
else
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
KANBOARD_CODE=$(cat $data | sed -n 4p)
KANBOARD_CODE=$(cat $data | sed -n 2p)
validate_freedns_code "$KANBOARD_CODE"
if [ ! $VALID_CODE ]; then
KANBOARD_DOMAIN_NAME=