projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d2f216c
)
add 2 second sleep before rebooting
author
John Crispin
<blogic@openwrt.org>
Wed, 3 Jul 2013 13:55:26 +0000
(15:55 +0200)
committer
John Crispin
<blogic@openwrt.org>
Wed, 3 Jul 2013 18:28:03 +0000
(20:28 +0200)
stderr is lost without this whena crash happens
Signed-off-by: John Crispin <blogic@openwrt.org>
signal.c
patch
|
blob
|
history
diff --git
a/signal.c
b/signal.c
index
0bb881e
..
ebaf7bc
100644
(file)
--- a/
signal.c
+++ b/
signal.c
@@
-26,6
+26,7
@@
static void do_reboot(void)
LOG("reboot\n");
fflush(stderr);
sync();
+ sleep(2);
reboot(RB_AUTOBOOT);
while (1)
;