„update_blocklist.sh“ ändern
This commit is contained in:
parent
018b1157c9
commit
205e901f82
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ sec_to_time() {
|
||||||
progress_start=0
|
progress_start=0
|
||||||
progress_end=$countofdiffs
|
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"
|
echo "INSERT OR IGNORE INTO AutoBlockIP ('IP', 'RecordTime', 'ExpireTime', 'Deny', 'IPStd', 'Type', 'Meta') VALUES " > "$sql_statement"
|
||||||
|
|
||||||
while read BLOCKED_IP ; do
|
while read BLOCKED_IP ; do
|
||||||
|
|
Loading…
Reference in a new issue