projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05969d0
)
Loop until ubus connection succeeds
author
Steven Barth
<steven@midlink.org>
Wed, 16 Oct 2013 17:01:22 +0000
(19:01 +0200)
committer
Steven Barth
<steven@midlink.org>
Wed, 16 Oct 2013 17:01:22 +0000
(19:01 +0200)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index 06e54072546efa0b949f7b8993b0f2d96a5a011c..f008c1229b285b138893d0221b350fe4d67cd75d 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-612,7
+612,8
@@
void odhcpd_run(void)
signal(SIGHUP, handle_signal);
#ifdef WITH_UBUS
- init_ubus();
+ while (init_ubus())
+ sleep(1);
#endif
odhcpd_reload();