]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/setup/networking.c
ensure Tor daemon files have correct permissions
[people/pmueller/ipfire-2.x.git] / src / setup / networking.c
index 1b5b77d8d54444c61fe18f5c182c09d6d6e42f5a..00dfc4b5a7d3a8aa02344d2966a60db6f7776007 100644 (file)
@@ -113,11 +113,12 @@ 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();
        }
-       create_udev();
        return 1;
 }
 
@@ -214,7 +215,7 @@ int oktoleave(void)
                strcpy(temp, ""); findkey(kv, "DNS1", temp);
                if (!(strlen(temp)))
                {
-                       errorbox(_("Misssing DNS."));
+                       errorbox(_("Missing DNS."));
                        freekeyvalues(kv);
                        return 0;
                }
@@ -264,8 +265,7 @@ int firstmenu(void)
        x--;
        if (x < 0 || x > 4) x = 0;
        /* Format heading bit. */
-       snprintf(message, 1000, _("Current config: %s%s"), configtypenames[x],
-               networkrestart);
+       snprintf(message, 1000, _("Current config: %s\n\n%s"), configtypenames[x], networkrestart);
        rc = newtWinMenu(_("Network configuration menu"), message, 50, 5, 5, 6,
                        sections, &choice, _("OK"), _("Done"), NULL);