chown the macvendor that we copied to root

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2023-06-29 17:25:08 +01:00
parent a5c8e6d873
commit 1a09d39444
No known key found for this signature in database
1 changed files with 6 additions and 5 deletions

View File

@ -58,11 +58,12 @@ ensure_basic_configuration() {
# set -e
# # If FTLCONF_files_macvendor is not set
# if [[ -z "${FTLCONF_files_macvendor:-}" ]]; then
# # User is not passing in a custom location - so force FTL to use the file we moved to / during the build
# setFTLConfigValue "files.macvendor" "/macvendor.db"
# fi
# If FTLCONF_files_macvendor is not set
if [[ -z "${FTLCONF_files_macvendor:-}" ]]; then
# User is not passing in a custom location - so force FTL to use the file we moved to / during the build
setFTLConfigValue "files.macvendor" "/macvendor.db"
chown pihole:pihole /macvendor.db
fi
}