diff options
| author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-03 12:18:42 +0000 |
|---|---|---|
| committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-03 12:18:42 +0000 |
| commit | 99bd5adf995ee0f83bdda92384137ae810c4c92b (patch) | |
| tree | 253331bcdcf278ef28a6f67f87faf80786b78e97 /init | |
| parent | 759d7ececd56e5b25bbfcc54a04bf939d80c7ee9 (diff) | |
| download | busybox-w32-99bd5adf995ee0f83bdda92384137ae810c4c92b.tar.gz busybox-w32-99bd5adf995ee0f83bdda92384137ae810c4c92b.tar.bz2 busybox-w32-99bd5adf995ee0f83bdda92384137ae810c4c92b.zip | |
more crond+crontab integrating with loginutil libbb functions and deleted
patch from Thomas Gleixner to init.
Viodz last_patch_108
Diffstat (limited to 'init')
| -rw-r--r-- | init/init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/init/init.c b/init/init.c index 2f44e13bf..26bbc3428 100644 --- a/init/init.c +++ b/init/init.c | |||
| @@ -829,13 +829,6 @@ static void cont_handler(int sig) | |||
| 829 | got_cont = 1; | 829 | got_cont = 1; |
| 830 | } | 830 | } |
| 831 | 831 | ||
| 832 | /* Reap any zombie processes that are reparented to init */ | ||
| 833 | static void child_handler(int sig) | ||
| 834 | { | ||
| 835 | int status; | ||
| 836 | while ( wait3(&status, WNOHANG, NULL) > 0 ); | ||
| 837 | } | ||
| 838 | |||
| 839 | #endif /* ! DEBUG_INIT */ | 832 | #endif /* ! DEBUG_INIT */ |
| 840 | 833 | ||
| 841 | static void new_init_action(int action, const char *command, const char *cons) | 834 | static void new_init_action(int action, const char *command, const char *cons) |
| @@ -1076,7 +1069,6 @@ extern int init_main(int argc, char **argv) | |||
| 1076 | signal(SIGCONT, cont_handler); | 1069 | signal(SIGCONT, cont_handler); |
| 1077 | signal(SIGSTOP, stop_handler); | 1070 | signal(SIGSTOP, stop_handler); |
| 1078 | signal(SIGTSTP, stop_handler); | 1071 | signal(SIGTSTP, stop_handler); |
| 1079 | signal(SIGCHLD, child_handler); | ||
| 1080 | 1072 | ||
| 1081 | /* Turn off rebooting via CTL-ALT-DEL -- we get a | 1073 | /* Turn off rebooting via CTL-ALT-DEL -- we get a |
| 1082 | * SIGINT on CAD so we can shut things down gracefully... */ | 1074 | * SIGINT on CAD so we can shut things down gracefully... */ |
