|
|
|
|
95
|
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
95
|
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
96
|
dialog --backtitle $"Freedombone Configuration" \
|
96
|
dialog --backtitle $"Freedombone Configuration" \
|
97
|
--title $"PrivateBin Configuration" \
|
97
|
--title $"PrivateBin Configuration" \
|
98
|
- --form $"\nPlease enter your privatebin 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 4 \
|
|
|
|
|
98
|
+ --form $"\nPlease enter your PrivateBin details. The background image URL can be left blank.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 14 65 2 \
|
99
|
$"Domain:" 1 1 "$(grep 'PRIVATEBIN_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
|
99
|
$"Domain:" 1 1 "$(grep 'PRIVATEBIN_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
|
100
|
- $"Code:" 2 1 "$(grep 'PRIVATEBIN_CODE' temp.cfg | awk -F '=' '{print $2}')" 4 25 33 255 \
|
|
|
|
|
100
|
+ $"Code:" 2 1 "$(grep 'PRIVATEBIN_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 25 33 255 \
|
101
|
2> $data
|
101
|
2> $data
|
102
|
else
|
102
|
else
|
103
|
dialog --backtitle $"Freedombone Configuration" \
|
103
|
dialog --backtitle $"Freedombone Configuration" \
|
104
|
--title $"PrivateBin Configuration" \
|
104
|
--title $"PrivateBin Configuration" \
|
105
|
- --form $"\nPlease enter your privatebin 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 4 \
|
|
|
|
|
105
|
+ --form $"\nPlease enter your PrivateBin details. The background image URL can be left blank.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 14 65 2 \
|
106
|
$"Domain:" 1 1 "$(grep 'PRIVATEBIN_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
|
106
|
$"Domain:" 1 1 "$(grep 'PRIVATEBIN_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
|
107
|
2> $data
|
107
|
2> $data
|
108
|
fi
|
108
|
fi
|