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,6 +599,7 @@ function interactive_configuration {
rm -f /tmp/meshuserdevice rm -f /tmp/meshuserdevice
fi fi
if [[ $ONION_ONLY == "no" ]]; then
if [[ $MINIMAL_INSTALL == "no" ]]; then if [[ $MINIMAL_INSTALL == "no" ]]; then
${PROJECT_NAME}-config \ ${PROJECT_NAME}-config \
-f $CONFIGURATION_FILE \ -f $CONFIGURATION_FILE \
@ -613,6 +614,14 @@ function interactive_configuration {
-m $MINIMUM_PASSWORD_LENGTH \ -m $MINIMUM_PASSWORD_LENGTH \
--minimal "yes" --minimal "yes"
fi fi
else
${PROJECT_NAME}-config \
-f $CONFIGURATION_FILE \
-w $FREEDOMBONE_WEBSITE \
-b $FREEDOMBONE_BITMESSAGE \
-m $MINIMUM_PASSWORD_LENGTH \
--onion "yes"
fi
if [ -f /tmp/meshuserdevice ]; then if [ -f /tmp/meshuserdevice ]; then
# mesh network user device installation # mesh network user device installation
rm -f /tmp/meshuserdevice rm -f /tmp/meshuserdevice