|
@@ -218,7 +218,7 @@ function interactive_configuration {
|
218
|
218
|
cp $CONFIGURATION_FILE temp.cfg
|
219
|
219
|
fi
|
220
|
220
|
|
221
|
|
- FREEDNS_MESSAGE="Please enter the FreeDNS code for this domain"
|
|
221
|
+ FREEDNS_MESSAGE="Please enter the FreeDNS code for this domain.\n\nThe code can be found by going to https://freedns.afraid.org, selecting 'Dynamic DNS' and then oprining 'Wget example'. The code will consist of letters and numbers and be between the ? and = characters."
|
222
|
222
|
|
223
|
223
|
dialog --title "Freedombone" --msgbox "Welcome to the Freedombone interactive installer. Communications freedom is only a short time away.\n\nEnsure that you have your domain and dynamic DNS settings ready.\n\nFor more information please visit $FREEDOMBONE_WEBSITE or send a Bitmessage to $FREEDOMBONE_BITMESSAGE" 15 50
|
224
|
224
|
|
|
@@ -649,7 +649,7 @@ function interactive_configuration {
|
649
|
649
|
else
|
650
|
650
|
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
651
|
651
|
WIKI_CODE=$(cat $data | sed -n 3p)
|
652
|
|
- if [ ${#WIKI_CODE} -lt 5 ]; then
|
|
652
|
+ if [ ${#WIKI_CODE} -lt 30 ]; then
|
653
|
653
|
WIKI_DOMAIN_NAME=
|
654
|
654
|
dialog --title "FreeDNS code" --msgbox "$FREEDNS_MESSAGE" 15 50
|
655
|
655
|
fi
|
|
@@ -704,7 +704,7 @@ function interactive_configuration {
|
704
|
704
|
else
|
705
|
705
|
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
706
|
706
|
FULLBLOG_CODE=$(cat $data | sed -n 3p)
|
707
|
|
- if [ ${#FULLBLOG_CODE} -lt 5 ]; then
|
|
707
|
+ if [ ${#FULLBLOG_CODE} -lt 30 ]; then
|
708
|
708
|
FULLBLOG_DOMAIN_NAME=
|
709
|
709
|
dialog --title "FreeDNS code" --msgbox "$FREEDNS_MESSAGE" 15 50
|
710
|
710
|
fi
|
|
@@ -753,7 +753,7 @@ function interactive_configuration {
|
753
|
753
|
else
|
754
|
754
|
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
755
|
755
|
OWNCLOUD_CODE=$(cat $data | sed -n 2p)
|
756
|
|
- if [ ${#OWNCLOUD_CODE} -lt 5 ]; then
|
|
756
|
+ if [ ${#OWNCLOUD_CODE} -lt 30 ]; then
|
757
|
757
|
OWNCLOUD_DOMAIN_NAME=
|
758
|
758
|
dialog --title "FreeDNS code" --msgbox "$FREEDNS_MESSAGE" 15 50
|
759
|
759
|
fi
|
|
@@ -802,7 +802,7 @@ function interactive_configuration {
|
802
|
802
|
else
|
803
|
803
|
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
804
|
804
|
REDMATRIX_CODE=$(cat $data | sed -n 2p)
|
805
|
|
- if [ ${#REDMATRIX_CODE} -lt 5 ]; then
|
|
805
|
+ if [ ${#REDMATRIX_CODE} -lt 30 ]; then
|
806
|
806
|
REDMATRIX_DOMAIN_NAME=
|
807
|
807
|
dialog --title "FreeDNS code" --msgbox "$FREEDNS_MESSAGE" 15 50
|
808
|
808
|
fi
|
|
@@ -854,7 +854,7 @@ function interactive_configuration {
|
854
|
854
|
else
|
855
|
855
|
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
856
|
856
|
MICROBLOG_CODE=$(cat $data | sed -n 2p)
|
857
|
|
- if [ ${#MICROBLOG_CODE} -lt 5 ]; then
|
|
857
|
+ if [ ${#MICROBLOG_CODE} -lt 30 ]; then
|
858
|
858
|
MICROBLOG_DOMAIN_NAME=
|
859
|
859
|
dialog --title "FreeDNS code" --msgbox "$FREEDNS_MESSAGE" 15 50
|
860
|
860
|
fi
|
|
@@ -888,7 +888,7 @@ function interactive_configuration {
|
888
|
888
|
DEFAULT_DOMAIN_NAME=$(cat $data | sed -n 1p)
|
889
|
889
|
DEFAULT_DOMAIN_CODE=$(cat $data | sed -n 2p)
|
890
|
890
|
if [ $DEFAULT_DOMAIN_NAME ]; then
|
891
|
|
- if [ ${#DEFAULT_DOMAIN_CODE} -lt 5 ]; then
|
|
891
|
+ if [ ${#DEFAULT_DOMAIN_CODE} -lt 30 ]; then
|
892
|
892
|
DEFAULT_DOMAIN_NAME=
|
893
|
893
|
dialog --title "FreeDNS code" --msgbox "$FREEDNS_MESSAGE" 15 50
|
894
|
894
|
fi
|