From: Felix Fietkau Date: Thu, 6 Oct 2011 01:28:04 +0000 (+0200) Subject: delay bringup of interfaces until after the config reload X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d6ea48d146b4fa2905afa4acc2ff34b37ce5a623;p=project%2Fnetifd.git delay bringup of interfaces until after the config reload --- diff --git a/interface.c b/interface.c index 9454dc1..eb2f754 100644 --- a/interface.c +++ b/interface.c @@ -207,7 +207,7 @@ interface_do_reload(struct interface *iface) interface_claim_device(iface); proto_init_interface(iface, iface->config); - if (iface->autostart) + if (iface->autostart && !config_init) interface_set_up(iface); }