]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/system/unbound
unbound: update savesearch after reload configfiles
[people/pmueller/ipfire-2.x.git] / src / initscripts / system / unbound
index b6b57f1c1d12fc509e8b3fa5710ff40b0c89a021..507f589cad4acf14dc9abaf495fdbb47ff728494 100644 (file)
@@ -592,13 +592,13 @@ case "$1" in
                write_forward_conf
                write_hosts_conf
 
+               # Call unbound-control and perform the reload
+               /usr/sbin/unbound-control -q reload
+
                # Update Safe Search rules if the system is online.
                if [ -e "/var/ipfire/red/active" ]; then
                        update_safe_search
                fi
-
-               # Call unbound-control and perform the reload
-               /usr/sbin/unbound-control -q reload
                ;;
 
        status)