From 3f7702f4b3369888d6d5e498d4fcf2f28fc8d29b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 25 Jan 2016 17:16:51 +0000 Subject: [PATCH] More generic --- src/freedombone | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/freedombone b/src/freedombone index 9175f6d9..93e1bbeb 100755 --- a/src/freedombone +++ b/src/freedombone @@ -41,13 +41,13 @@ DEFAULT_LANGUAGE=$(echo $LANG) GENERIC_IMAGE_USERNAME='fbone' # Web site -FREEDOMBONE_WEBSITE="http://${PROJECT_NAME}.uk.to" +PROJECT_WEBSITE="http://${PROJECT_NAME}.uk.to" # Repo -FREEDOMBONE_REPO="https://github.com/bashrc/${PROJECT_NAME}" +PROJECT_REPO="https://github.com/bashrc/${PROJECT_NAME}" # Contact details -FREEDOMBONE_BITMESSAGE="BM-2cWuhmBvVdfrHhLoZTdspCkKeiTorUesSL" +PROJECT_BITMESSAGE="BM-2cWuhmBvVdfrHhLoZTdspCkKeiTorUesSL" # Are we installing on a Beaglebone Black (BBB) or some other system? INSTALLING_ON_BBB="no" @@ -611,22 +611,22 @@ function interactive_configuration { if [[ $MINIMAL_INSTALL == "no" ]]; then ${PROJECT_NAME}-config \ -f $CONFIGURATION_FILE \ - -w $FREEDOMBONE_WEBSITE \ - -b $FREEDOMBONE_BITMESSAGE \ + -w $PROJECT_WEBSITE \ + -b $PROJECT_BITMESSAGE \ -m $MINIMUM_PASSWORD_LENGTH else ${PROJECT_NAME}-config \ -f $CONFIGURATION_FILE \ - -w $FREEDOMBONE_WEBSITE \ - -b $FREEDOMBONE_BITMESSAGE \ + -w $PROJECT_WEBSITE \ + -b $PROJECT_BITMESSAGE \ -m $MINIMUM_PASSWORD_LENGTH \ --minimal "yes" fi else ${PROJECT_NAME}-config \ -f $CONFIGURATION_FILE \ - -w $FREEDOMBONE_WEBSITE \ - -b $FREEDOMBONE_BITMESSAGE \ + -w $PROJECT_WEBSITE \ + -b $PROJECT_BITMESSAGE \ -m $MINIMUM_PASSWORD_LENGTH \ --onion "yes" fi @@ -638,7 +638,7 @@ function interactive_configuration { if [ ! "$?" = "0" ]; then echo $'Command failed:' echo '' - echo $" ${PROJECT_NAME}-config -u $MY_USERNAME -f $CONFIGURATION_FILE -w $FREEDOMBONE_WEBSITE -b $FREEDOMBONE_BITMESSAGE -m $MINIMUM_PASSWORD_LENGTH --minimal [yes|no]" + echo $" ${PROJECT_NAME}-config -u $MY_USERNAME -f $CONFIGURATION_FILE -w $PROJECT_WEBSITE -b $PROJECT_BITMESSAGE -m $MINIMUM_PASSWORD_LENGTH --minimal [yes|no]" echo '' exit 73594 fi