mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 08:52:58 +02:00
unbound: speed-up remove forwarders
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -595,6 +595,10 @@ case "$1" in
|
||||
# Call unbound-control and perform the reload
|
||||
/usr/sbin/unbound-control -q reload
|
||||
|
||||
if [ "$1" = "remove-forwarders" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Dummy Resolve to wait for unbound
|
||||
resolve "ping.ipfire.org" &>/dev/null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user