diff --git a/src/freedombone-app-searx b/src/freedombone-app-searx index a5de0ae9..b14b4624 100755 --- a/src/freedombone-app-searx +++ b/src/freedombone-app-searx @@ -846,7 +846,6 @@ function remove_searx { remove_completion_param install_searx sed -i '/Search engine /d' $COMPLETION_FILE sed -i '/searx /d' $COMPLETION_FILE - update_default_search_engine } function install_searx { @@ -1012,8 +1011,6 @@ function install_searx { systemctl daemon-reload systemctl start searx.service - update_default_search_engine - SEARX_PASSWORD="$(create_password ${MINIMUM_PASSWORD_LENGTH})" ${PROJECT_NAME}-pass -u $MY_USERNAME -a searx -p "$SEARX_PASSWORD" if grep -q "$MY_USERNAME:" /etc/nginx/.htpasswd; then diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index 2376ee9d..a63dda38 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -535,10 +535,6 @@ function install_dynamicdns { } function update_default_search_engine { - if [ -f /var/lib/tor/hidden_service_searx/hostname ]; then - DEFAULT_SEARCH="http://$(cat /var/lib/tor/hidden_service_searx/hostname)" - fi - for d in /home/*/ ; do USERNAME=$(echo "$d" | awk -F '/' '{print $3}') if [[ $(is_valid_user "$USERNAME") == "1" ]]; then