As seen [in #2111](https://github.com/esp8266/Arduino/issues/2111#issuecomment-224251391), would be useful to disable WiFi early, and maybe for some other cases as well. ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35086685-add-a-hook-to-run-code-from-user_init?utm_campaign=plugin&utm_content=tracker%2F14245935&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F14245935&utm_medium=issues&utm_source=github). </bountysource-plugin>