Index of the code
This commit is contained in:
parent
bbb32e867b
commit
493eb2e6ed
|
@ -124,7 +124,7 @@ function install_interactive_postactiv {
|
|||
dialog --title $"Domain name validation" --msgbox "$TEST_DOMAIN_NAME" 15 50
|
||||
else
|
||||
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
||||
POSTACTIV_CODE=$(cat $data | sed -n 4p)
|
||||
POSTACTIV_CODE=$(cat $data | sed -n 2p)
|
||||
validate_freedns_code "$POSTACTIV_CODE"
|
||||
if [ ! $VALID_CODE ]; then
|
||||
POSTACTIV_DOMAIN_NAME=
|
||||
|
|
|
@ -758,7 +758,7 @@ function validate_freedns_code {
|
|||
dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70
|
||||
VALID_CODE=
|
||||
fi
|
||||
if [ ${#freedns_code} -lt 25 ]; then
|
||||
if [ ${#freedns_code} -lt 30 ]; then
|
||||
dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70
|
||||
VALID_CODE=
|
||||
fi
|
||||
|
|
|
@ -53,7 +53,7 @@ function validate_freedns_code {
|
|||
dialog --title $"Invalid FreeDNS Code" --msgbox "$FREEDNS_MESSAGE" 10 70
|
||||
VALID_CODE=
|
||||
fi
|
||||
if [ ${#freedns_code} -lt 25 ]; then
|
||||
if [ ${#freedns_code} -lt 30 ]; then
|
||||
dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70
|
||||
VALID_CODE=
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue