From ae0fcf3a4208401f5dc0296c29227a55f63163da Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 16 Jul 2025 15:47:36 +0200 Subject: [chore] overdue maintenance of shell scripts Removes obsolete scripts and fix various leftovers. Signed-off-by: Markus Heiser --- utils/searxng.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'utils/searxng.sh') diff --git a/utils/searxng.sh b/utils/searxng.sh index 663ca6d3d..d4c3011c9 100755 --- a/utils/searxng.sh +++ b/utils/searxng.sh @@ -41,10 +41,6 @@ fi SEARXNG_URL="${SEARXNG_URL:-http://$(uname -n)/searxng}" SEARXNG_URL="${SEARXNG_URL%/}" # if exists, remove trailing slash -if in_container; then - # hint: Linux containers do not have DNS entries, lets use IPs - SEARXNG_URL="http://$(primary_ip)/searxng" -fi SEARXNG_URL_PATH="$(echo "${SEARXNG_URL}" | sed -e 's,^.*://[^/]*\(/.*\),\1,g')" [[ "${SEARXNG_URL_PATH}" == "${SEARXNG_URL}" ]] && SEARXNG_URL_PATH=/ @@ -114,9 +110,7 @@ esac _service_prefix=" ${_Yellow}|${SERVICE_USER}|${_creset} " -# ---------------------------------------------------------------------------- usage() { -# ---------------------------------------------------------------------------- # shellcheck disable=SC1117 cat <