|
@@ -1361,7 +1361,7 @@ function interactive_configuration {
|
1361
|
1361
|
--form $"\nPlease enter your wiki details:" 11 55 4 \
|
1362
|
1362
|
$"Title:" 1 1 "$(grep 'WIKI_TITLE' temp.cfg | awk -F '=' '{print $2}')" 1 16 25 40 \
|
1363
|
1363
|
$"Domain:" 2 1 "$(grep 'WIKI_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 40 \
|
1364
|
|
- $"Code:" 3 1 "$(grep 'WIKI_CODE' temp.cfg | awk -F '=' '{print $2}')" 3 16 25 40 \
|
|
1364
|
+ $"Code:" 3 1 "$(grep 'WIKI_CODE' temp.cfg | awk -F '=' '{print $2}')" 3 16 25 255 \
|
1365
|
1365
|
2> $data
|
1366
|
1366
|
else
|
1367
|
1367
|
dialog --backtitle $"Freedombone Configuration" \
|
|
@@ -1418,7 +1418,7 @@ function interactive_configuration {
|
1418
|
1418
|
--form $"\nPlease enter your blog details:" 11 55 4 \
|
1419
|
1419
|
$"Title:" 1 1 "$(grep 'MY_BLOG_TITLE' temp.cfg | awk -F '=' '{print $2}')" 1 16 25 30 \
|
1420
|
1420
|
$"Domain:" 2 1 "$(grep 'FULLBLOG_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 30 \
|
1421
|
|
- $"Code:" 3 1 "$(grep 'FULLBLOG_CODE' temp.cfg | awk -F '=' '{print $2}')" 3 16 25 30 \
|
|
1421
|
+ $"Code:" 3 1 "$(grep 'FULLBLOG_CODE' temp.cfg | awk -F '=' '{print $2}')" 3 16 25 255 \
|
1422
|
1422
|
2> $data
|
1423
|
1423
|
else
|
1424
|
1424
|
dialog --backtitle $"Freedombone Configuration" \
|
|
@@ -1476,7 +1476,7 @@ function interactive_configuration {
|
1476
|
1476
|
--title $"Owncloud Configuration" \
|
1477
|
1477
|
--form $"\nPlease enter your Owncloud details:" 11 55 3 \
|
1478
|
1478
|
$"Domain:" 1 1 "$(grep 'OWNCLOUD_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 16 25 30 \
|
1479
|
|
- $"Code:" 2 1 "$(grep 'OWNCLOUD_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 30 \
|
|
1479
|
+ $"Code:" 2 1 "$(grep 'OWNCLOUD_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 255 \
|
1480
|
1480
|
2> $data
|
1481
|
1481
|
else
|
1482
|
1482
|
dialog --backtitle $"Freedombone Configuration" \
|
|
@@ -1529,7 +1529,7 @@ function interactive_configuration {
|
1529
|
1529
|
--title $"Hubzilla Configuration" \
|
1530
|
1530
|
--form $"\nPlease enter your Hubzilla details.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 14 55 3 \
|
1531
|
1531
|
$"Domain:" 1 1 "$(grep 'HUBZILLA_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 16 25 30 \
|
1532
|
|
- $"Code:" 2 1 "$(grep 'HUBZILLA_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 30 \
|
|
1532
|
+ $"Code:" 2 1 "$(grep 'HUBZILLA_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 255 \
|
1533
|
1533
|
2> $data
|
1534
|
1534
|
else
|
1535
|
1535
|
dialog --backtitle $"Freedombone Configuration" \
|
|
@@ -1582,17 +1582,17 @@ function interactive_configuration {
|
1582
|
1582
|
--title $"Microblog Configuration" \
|
1583
|
1583
|
--form $"\nPlease enter your Microblog details. Welcome message and 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 \
|
1584
|
1584
|
$"Domain:" 1 1 "$(grep 'MICROBLOG_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 25 30 \
|
1585
|
|
- $"Welcome Message:" 2 1 "$(grep '$MICROBLOG_WELCOME_MESSAGE' temp.cfg | awk -F '=' '{print $2}')" 2 25 255 30 \
|
1586
|
|
- $"Background image URL:" 3 1 "$(grep '$MICROBLOG_BACKGROUND_IMAGE_URL' temp.cfg | awk -F '=' '{print $2}')" 3 25 255 30 \
|
1587
|
|
- $"Code:" 4 1 "$(grep 'MICROBLOG_CODE' temp.cfg | awk -F '=' '{print $2}')" 4 25 25 30 \
|
|
1585
|
+ $"Welcome Message:" 2 1 "$(grep '$MICROBLOG_WELCOME_MESSAGE' temp.cfg | awk -F '=' '{print $2}')" 2 25 255 255 \
|
|
1586
|
+ $"Background image URL:" 3 1 "$(grep '$MICROBLOG_BACKGROUND_IMAGE_URL' temp.cfg | awk -F '=' '{print $2}')" 3 25 255 255 \
|
|
1587
|
+ $"Code:" 4 1 "$(grep 'MICROBLOG_CODE' temp.cfg | awk -F '=' '{print $2}')" 4 25 25 255 \
|
1588
|
1588
|
2> $data
|
1589
|
1589
|
else
|
1590
|
1590
|
dialog --backtitle $"Freedombone Configuration" \
|
1591
|
1591
|
--title $"Microblog Configuration" \
|
1592
|
1592
|
--form $"\nPlease enter your Microblog details. Welcome message and 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 \
|
1593
|
1593
|
$"Domain:" 1 1 "$(grep 'MICROBLOG_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 25 30 \
|
1594
|
|
- $"Welcome Message:" 2 1 "$(grep '$MICROBLOG_WELCOME_MESSAGE' temp.cfg | awk -F '=' '{print $2}')" 2 25 255 30 \
|
1595
|
|
- $"Background image URL:" 3 1 "$(grep '$MICROBLOG_BACKGROUND_IMAGE_URL' temp.cfg | awk -F '=' '{print $2}')" 3 25 255 30 \
|
|
1594
|
+ $"Welcome Message:" 2 1 "$(grep '$MICROBLOG_WELCOME_MESSAGE' temp.cfg | awk -F '=' '{print $2}')" 2 25 255 255 \
|
|
1595
|
+ $"Background image URL:" 3 1 "$(grep '$MICROBLOG_BACKGROUND_IMAGE_URL' temp.cfg | awk -F '=' '{print $2}')" 3 25 255 255 \
|
1596
|
1596
|
2> $data
|
1597
|
1597
|
fi
|
1598
|
1598
|
sel=$?
|
|
@@ -1651,7 +1651,7 @@ function interactive_configuration {
|
1651
|
1651
|
--title $"Developer Configuration" \
|
1652
|
1652
|
--form $"\nPlease enter your Git hosting site details.\nIf You don't need developer tools then just select Ok" 11 55 3 \
|
1653
|
1653
|
$"Domain:" 1 1 "$(grep 'GIT_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 16 25 40 \
|
1654
|
|
- $"Code:" 2 1 "$(grep 'GIT_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 40 \
|
|
1654
|
+ $"Code:" 2 1 "$(grep 'GIT_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 255 \
|
1655
|
1655
|
2> $data
|
1656
|
1656
|
else
|
1657
|
1657
|
dialog --backtitle $"Freedombone Configuration" \
|
|
@@ -1706,7 +1706,7 @@ function interactive_configuration {
|
1706
|
1706
|
--title $"Your main domain name" \
|
1707
|
1707
|
--form $"\nWhich domain name should your email/XMPP/IRC/VoIP be associated with?" 11 55 3 \
|
1708
|
1708
|
$"Domain:" 1 1 "$(grep 'DEFAULT_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 16 25 30 \
|
1709
|
|
- $"Code:" 2 1 "$(grep 'DEFAULT_DOMAIN_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 30 \
|
|
1709
|
+ $"Code:" 2 1 "$(grep 'DEFAULT_DOMAIN_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 16 25 255 \
|
1710
|
1710
|
2> $data
|
1711
|
1711
|
sel=$?
|
1712
|
1712
|
case $sel in
|