1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00

Merge pull request #2587 from pi-hole/new/network-table

Download macvendor database
This commit is contained in:
Mark Drobnak 2019-01-28 20:27:13 -05:00 committed by GitHub
commit 1e284f69ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2182,6 +2182,10 @@ FTLinstall() {
# If we downloaded binary file (as opposed to text),
if sha1sum --status --quiet -c "${binary}".sha1; then
printf "transferred... "
# Before stopping FTL, we download the macvendor database
curl -sSL "https://ftl.pi-hole.net/macvendor.db" -o "${PI_HOLE_CONFIG_DIR}/macvendor.db" || true
# Stop FTL
stop_service pihole-FTL &> /dev/null
# Install the new version with the correct permissions