projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c8064f
)
oops
author
Eric Andersen
<andersen@codepoet.org>
Sat, 5 Jul 2003 08:39:47 +0000
(08:39 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sat, 5 Jul 2003 08:39:47 +0000
(08:39 -0000)
init/init.c
patch
|
blob
|
history
diff --git
a/init/init.c
b/init/init.c
index 401cf693c214bbf305d0f6c86c6a3392ab640d8f..a454ac5cebcba5b5a080a7a1adc66a9003081eb5 100644
(file)
--- a/
init/init.c
+++ b/
init/init.c
@@
-190,6
+190,7
@@
static const char * const environment[] = {
/* Function prototypes */
static void delete_init_action(struct init_action *a);
static int waitfor(const struct init_action *a);
+static void halt_signal(int sig);
static void loop_forever(void)
@@
-723,6
+724,8
@@
static void exec_signal(int sig)
for (a = init_action_list; a; a = tmp) {
tmp = a->next;
if (a->action & RESTART) {
+ struct stat sb;
+
shutdown_system();
/* unblock all signals, blocked in shutdown_system() */