mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
unbound: Read configuration globally
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -17,6 +17,7 @@ LOCAL_TTL=60
|
||||
|
||||
# Load configuration
|
||||
eval $(/usr/local/bin/readhash /var/ipfire/dns/settings)
|
||||
eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
|
||||
|
||||
ip_address_revptr() {
|
||||
local addr=${1}
|
||||
@@ -574,8 +575,6 @@ case "$1" in
|
||||
exit 0
|
||||
fi
|
||||
|
||||
eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
|
||||
|
||||
# Update configuration files
|
||||
write_tuning_conf
|
||||
write_forward_conf
|
||||
|
||||
Reference in New Issue
Block a user