From c06186d32370a2e0381bfbc6390517c76315d881 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 28 Oct 2024 00:43:46 +0300 Subject: [PATCH] remove knockd.conf for simple nginx containers --- scripts/knocking_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/knocking_setup.sh b/scripts/knocking_setup.sh index 89f7af8..d50b277 100755 --- a/scripts/knocking_setup.sh +++ b/scripts/knocking_setup.sh @@ -2,7 +2,7 @@ [[ -n $KNOCKING_STATUS ]] && INTERFACE=$(ip -br a | grep -E "172.28" | awk '{print $1}') || \ - INTERFACE=$(ip -br a | grep -E "^eth" | awk '{print $1}') + exit 0 echo -E " [options]