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]
/
proto-shell.c
diff --git
a/proto-shell.c
b/proto-shell.c
index
37859f4
..
9041045
100644
(file)
--- a/
proto-shell.c
+++ b/
proto-shell.c
@@
-769,7
+769,7
@@
proto_shell_add_handler(const char *script, const char *name, json_object *obj)
add_proto_handler(proto);
}
-
static void __init
proto_shell_init(void)
+
void
proto_shell_init(void)
{
proto_fd = netifd_open_subdir("proto");
if (proto_fd < 0)