diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-07 19:12:16 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-07 19:12:16 +0100 |
commit | 8aabd47c6f4fefc8fbd70c34a738f7c26956d8cd (patch) | |
tree | c5f812515e91e8a3ed26d80ea0baa319e4eef99f /main.c | |
parent | 145b4bdae4e71d8d304623372cf7a1e511bfe3d4 (diff) |
proto-shell: defer init until after command line option processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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()) { |