]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
setup: restart unbound after network config change
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 12 Oct 2016 20:39:41 +0000 (22:39 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 12 Oct 2016 20:39:41 +0000 (22:39 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/setup/networking.c

index b840ec127a119ea9ac885a71a6979af5f59111d4..00dfc4b5a7d3a8aa02344d2966a60db6f7776007 100644 (file)
@@ -113,6 +113,8 @@ int handlenetworking(void)
 
                        runcommandwithstatus("/etc/rc.d/init.d/network start",
                                _("Networking"), _("Restarting network..."), NULL);
+                       runcommandwithstatus("/etc/rc.d/init.d/unbound restart",
+                               _("Networking"), _("Restarting unbound..."), NULL);
                }
        } else {
                rename_nics();