Skip to content

Commit

Permalink
Update geoblock.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
  • Loading branch information
enoch85 authored Sep 20, 2024
1 parent 40c515a commit 6ba4d6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions network/geoblock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ else
# Remove old database files
find /var/scripts -type f -regex \
"$SCRIPTS/202[0-9]-[01][0-9]-Maxmind-Country-IPv[46]\.dat" -delete
find /usr/share/GeoIP -type f -regex \
"*.dat" -delete
# Remove Apache2 mod
if [ -f "$GEOBLOCK_MOD" ]
then
Expand Down

0 comments on commit 6ba4d6b

Please sign in to comment.