Call config command for onion only setup

This commit is contained in:
Bob Mottram 2016-01-04 11:01:45 +00:00
parent e022c59bea
commit 42af2d86bf
1 changed files with 16 additions and 7 deletions

View File

@ -599,19 +599,28 @@ function interactive_configuration {
rm -f /tmp/meshuserdevice rm -f /tmp/meshuserdevice
fi fi
if [[ $MINIMAL_INSTALL == "no" ]]; then if [[ $ONION_ONLY == "no" ]]; then
${PROJECT_NAME}-config \ if [[ $MINIMAL_INSTALL == "no" ]]; then
-f $CONFIGURATION_FILE \ ${PROJECT_NAME}-config \
-w $FREEDOMBONE_WEBSITE \ -f $CONFIGURATION_FILE \
-b $FREEDOMBONE_BITMESSAGE \ -w $FREEDOMBONE_WEBSITE \
-m $MINIMUM_PASSWORD_LENGTH -b $FREEDOMBONE_BITMESSAGE \
-m $MINIMUM_PASSWORD_LENGTH
else
${PROJECT_NAME}-config \
-f $CONFIGURATION_FILE \
-w $FREEDOMBONE_WEBSITE \
-b $FREEDOMBONE_BITMESSAGE \
-m $MINIMUM_PASSWORD_LENGTH \
--minimal "yes"
fi
else else
${PROJECT_NAME}-config \ ${PROJECT_NAME}-config \
-f $CONFIGURATION_FILE \ -f $CONFIGURATION_FILE \
-w $FREEDOMBONE_WEBSITE \ -w $FREEDOMBONE_WEBSITE \
-b $FREEDOMBONE_BITMESSAGE \ -b $FREEDOMBONE_BITMESSAGE \
-m $MINIMUM_PASSWORD_LENGTH \ -m $MINIMUM_PASSWORD_LENGTH \
--minimal "yes" --onion "yes"
fi fi
if [ -f /tmp/meshuserdevice ]; then if [ -f /tmp/meshuserdevice ]; then
# mesh network user device installation # mesh network user device installation