mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-28 16:14:07 +02:00
Set dns.interface during installation
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
cae558d5d4
commit
96437dc913
@ -99,6 +99,7 @@ IPV6_ADDRESS=${IPV6_ADDRESS}
|
|||||||
# Give settings their default values. These may be changed by prompts later in the script.
|
# Give settings their default values. These may be changed by prompts later in the script.
|
||||||
QUERY_LOGGING=
|
QUERY_LOGGING=
|
||||||
PRIVACY_LEVEL=
|
PRIVACY_LEVEL=
|
||||||
|
PIHOLE_INTERFACE=
|
||||||
|
|
||||||
# Where old configs go to if a v6 migration is performed
|
# Where old configs go to if a v6 migration is performed
|
||||||
V6_CONF_MIGRATION_DIR="/etc/pihole/migration_backup_v6"
|
V6_CONF_MIGRATION_DIR="/etc/pihole/migration_backup_v6"
|
||||||
@ -2329,6 +2330,10 @@ main() {
|
|||||||
if [ -n "${PRIVACY_LEVEL}" ]; then
|
if [ -n "${PRIVACY_LEVEL}" ]; then
|
||||||
setFTLConfigValue "misc.privacylevel" "${PRIVACY_LEVEL}"
|
setFTLConfigValue "misc.privacylevel" "${PRIVACY_LEVEL}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "${PIHOLE_INTERFACE}" ]; then
|
||||||
|
setFTLConfigValue "dns.interface" "${PIHOLE_INTERFACE}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Download and compile the aggregated block list
|
# Download and compile the aggregated block list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user