From 02efa46d4bd23eaf193266fadf3a2f228c8a50fe Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sat, 9 Jul 2022 09:18:35 +0200 Subject: [PATCH] add: [update] add basic script --- db/update.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/update.sh diff --git a/db/update.sh b/db/update.sh new file mode 100644 index 0000000..9f0d580 --- /dev/null +++ b/db/update.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +wget https://cra.circl.lu/opendata/geo-open/mmdb-country/latest.mmdb +mv latest.mmdb GeoOpen-Country.mmdb +wget https://cra.circl.lu/opendata/geo-open/mmdb-country-asn/latest.mmdb +mv latest.mmdb GeoOpen-Country-ASN.mmdb