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