projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proto-shell: defer init until after command line option processing
[project/netifd.git]
/
main.c
diff --git
a/main.c
b/main.c
index fb6deed14c729a06898cac3cbe75672748fef439..f70db54508bbdd30c819afc541d65d8e0b3fba9e 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-25,6
+25,7
@@
#include "system.h"
#include "interface.h"
#include "wireless.h"
+#include "proto.h"
unsigned int debug_mask = 0;
const char *main_path = DEFAULT_MAIN_PATH;
@@
-326,6
+327,7
@@
int main(int argc, char **argv)
return 1;
}
+ proto_shell_init();
wireless_init();
if (system_init()) {