Welcome dialog for interactive installer

This commit is contained in:
Bob Mottram 2015-01-20 21:18:24 +00:00
parent 545813bdaa
commit 101cff0741
1 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,12 @@
NO_OF_ARGS=$# NO_OF_ARGS=$#
# Web site
FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
# Contact details
FREEDOMBONE_BITMESSAGE="BM-2cWuhmBvVdfrHhLoZTdspCkKeiTorUesSL"
DOMAIN_NAME= DOMAIN_NAME=
MY_USERNAME= MY_USERNAME=
SYSTEM_TYPE= SYSTEM_TYPE=
@ -412,6 +418,8 @@ function save_configuration_file {
} }
function interactive_configuration { function interactive_configuration {
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
data=$(tempfile 2>/dev/null) data=$(tempfile 2>/dev/null)
trap "rm -f $data" 0 1 2 5 15 trap "rm -f $data" 0 1 2 5 15
dialog --backtitle "Freedombone Configuration" \ dialog --backtitle "Freedombone Configuration" \