diff options
author | Eric Andersen | 2003-07-05 08:39:47 +0000 |
---|---|---|
committer | Eric Andersen | 2003-07-05 08:39:47 +0000 |
commit | d5a2780aa2fdee601f92df47a63a0945a7197755 (patch) | |
tree | a489041da1ed2cf0996ebbd6b394afe5d1f857bb /init | |
parent | 3c8064ff698d0d1d357e86dbf1d1f7673dac25c8 (diff) | |
download | busybox-d5a2780aa2fdee601f92df47a63a0945a7197755.zip busybox-d5a2780aa2fdee601f92df47a63a0945a7197755.tar.gz |
oops
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c index 401cf69..a454ac5 100644 --- 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() */ |