diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-07-05 08:39:47 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-07-05 08:39:47 +0000 |
| commit | f219ec1d7ea698126e174ed76b987e0e4e3f0c6f (patch) | |
| tree | a489041da1ed2cf0996ebbd6b394afe5d1f857bb | |
| parent | 35862ea912474a7a3530f58277735eaae98ac228 (diff) | |
| download | busybox-w32-f219ec1d7ea698126e174ed76b987e0e4e3f0c6f.tar.gz busybox-w32-f219ec1d7ea698126e174ed76b987e0e4e3f0c6f.tar.bz2 busybox-w32-f219ec1d7ea698126e174ed76b987e0e4e3f0c6f.zip | |
oops
git-svn-id: svn://busybox.net/trunk/busybox@7042 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -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 401cf693c..a454ac5ce 100644 --- a/init/init.c +++ b/init/init.c | |||
| @@ -190,6 +190,7 @@ static const char * const environment[] = { | |||
| 190 | /* Function prototypes */ | 190 | /* Function prototypes */ |
| 191 | static void delete_init_action(struct init_action *a); | 191 | static void delete_init_action(struct init_action *a); |
| 192 | static int waitfor(const struct init_action *a); | 192 | static int waitfor(const struct init_action *a); |
| 193 | static void halt_signal(int sig); | ||
| 193 | 194 | ||
| 194 | 195 | ||
| 195 | static void loop_forever(void) | 196 | static void loop_forever(void) |
| @@ -723,6 +724,8 @@ static void exec_signal(int sig) | |||
| 723 | for (a = init_action_list; a; a = tmp) { | 724 | for (a = init_action_list; a; a = tmp) { |
| 724 | tmp = a->next; | 725 | tmp = a->next; |
| 725 | if (a->action & RESTART) { | 726 | if (a->action & RESTART) { |
| 727 | struct stat sb; | ||
| 728 | |||
| 726 | shutdown_system(); | 729 | shutdown_system(); |
| 727 | 730 | ||
| 728 | /* unblock all signals, blocked in shutdown_system() */ | 731 | /* unblock all signals, blocked in shutdown_system() */ |
