From 205e901f82df87e799594c7abafe73626d8365d2 Mon Sep 17 00:00:00 2001 From: Stephan Geisler Date: Wed, 25 May 2022 09:17:13 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eupdate=5Fblocklist.sh=E2=80=9C=20?= =?UTF-8?q?=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update_blocklist.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update_blocklist.sh b/update_blocklist.sh index fcd62f0..6ed0d54 100644 --- a/update_blocklist.sh +++ b/update_blocklist.sh @@ -129,7 +129,8 @@ sec_to_time() { progress_start=0 progress_end=$countofdiffs -# beginn sql statement:: +# beginn sql statement: + # ggf. "INSERT OR REPLACE INTO ..." https://www.sqlite.org/lang_insert.html echo "INSERT OR IGNORE INTO AutoBlockIP ('IP', 'RecordTime', 'ExpireTime', 'Deny', 'IPStd', 'Type', 'Meta') VALUES " > "$sql_statement" while read BLOCKED_IP ; do