diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index 2f3a1a94..dc68cea0 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -703,7 +703,15 @@ function install_tox { else ${PROJECT_NAME}-logging on install_tox_node - ${PROJECT_NAME}-logging off + if [ -f $IMAGE_PASSWORD_FILE ]; then + if [[ $ONION_ONLY != 'no' ]]; then + ${PROJECT_NAME}-logging off --onion + else + ${PROJECT_NAME}-logging off + fi + else + ${PROJECT_NAME}-logging off + fi tox_avahi install_tox_client fi