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;
}
strcpy(temp, ""); findkey(kv, "DNS1", temp);
if (!(strlen(temp)))
{
- errorbox(_("Misssing DNS."));
+ errorbox(_("Missing DNS."));
freekeyvalues(kv);
return 0;
}
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);