diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-06 03:28:04 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-06 03:28:04 +0200 |
commit | d6ea48d146b4fa2905afa4acc2ff34b37ce5a623 (patch) | |
tree | 0ecd8b3936bcd7685b638879df041aa36ba9c16f /interface.c | |
parent | 273eb40f725de67011c092d2ed9f07a2d7f84ac3 (diff) |
delay bringup of interfaces until after the config reload
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |