Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'automated install/basic-install.sh')
-rwxr-xr-xautomated install/basic-install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index 990b1f34..132a96e5 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -2174,6 +2174,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"
+
# Stop FTL
stop_service pihole-FTL &> /dev/null
# Install the new version with the correct permissions