These already exist
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
function download() {
echo "Downloading latest GeoIP ruleset..."
- # Create temporary directory.
- mkdir -pv $TMP_PATH
-
# Proxy settings.
# Check if a proxy should be used.
if [[ $UPSTREAM_PROXY ]]; then
}
function build_legacy() {
- # Create temporary directory.
- mkdir -pv $TMP_PATH
-
echo "Convert database to legacy GeoIP.dat ..."
cat $DB_PATH/GeoLite2-Country-Blocks-IPv4.csv | \
$DB1_PATH/bin/geolite2-to-legacy-csv.sh $DB1_PATH/bin/countryInfo.txt > \