mirror of
https://github.com/casjaysdevdocker/ifconfig
synced 2025-01-18 06:34:22 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/tmp/init.sh
This commit is contained in:
parent
e449fa31d0
commit
c733f5ea95
@ -40,5 +40,5 @@ set -o pipefail
|
|||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
for f in GeoLite2-ASN GeoLite2-City GeoLite2-Country; do
|
for f in GeoLite2-ASN GeoLite2-City GeoLite2-Country; do
|
||||||
curl -q -LSsf "https://github.com/P3TERX/GeoLite.mmdb/raw/download/$f.mmdb" -O /opt/echoip/geoip/$f.mmdb
|
curl -q -LSsf "https://github.com/P3TERX/GeoLite.mmdb/raw/download/$f.mmdb" -O /opt/echoip/geoip/$f.mmdb
|
||||||
[ -f "rootfs/opt/echoip/geoip/$f.mmdb" ] && echo "Installed $f.mmdb to /opt/echoip/geoip" || exit 10
|
[ -f "/opt/echoip/geoip/$f.mmdb" ] && echo "Installed $f.mmdb to /opt/echoip/geoip" || exit 10
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user