diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-12-10 08:25:07 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-12-10 08:25:07 +0000 |
commit | 2cb55077e2f65f17dbc8933eec47760bcc2a6ba1 (patch) | |
tree | a788718415ded192938d7c7a3661d0cab8cd8afe /reboot.c | |
parent | c5ff0165adac767d37103baa875c2f86bb43c0e1 (diff) | |
download | busybox-w32-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.tar.gz busybox-w32-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.tar.bz2 busybox-w32-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.zip |
Added poweroff (and adjusted init to use it). Inlined function
calls to code only called once in tee. Made BB_KLOGD and option.
-Erik
Diffstat (limited to 'reboot.c')
-rw-r--r-- | reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,5 +27,5 @@ extern int | |||
27 | reboot_main(int argc, char ** argv) | 27 | reboot_main(int argc, char ** argv) |
28 | { | 28 | { |
29 | /* don't assume init's pid == 1 */ | 29 | /* don't assume init's pid == 1 */ |
30 | exit( kill(findInitPid(), SIGUSR2)); | 30 | exit( kill(findInitPid(), SIGINT)); |
31 | } | 31 | } |