initial commit of file from CVS for smeserver-xt_geoip on Sat Sep 7 16:46:09 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 16:46:09 +10:00
parent 6a9aa6baf5
commit 23a0172ede
71 changed files with 10915 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
cd /usr/share/xt_geoip
if [ -f ./LE/A1.iv4 ]
then
FILES=$(find ./LE -name A1.iv4 -type f -mtime +7)
if [ -z $FILES ]
then
echo "recent base, no download"
exit 0
fi
fi
echo "download base for xt_geoip"
./update_base > /dev/null 2>&1
exit 0

View File

@@ -0,0 +1,6 @@
#!/bin/bash
modprobe -r xt_geoip
weak-modules --add-kernel
modprobe xt_geoip

View File