summaryrefslogtreecommitdiff
path: root/init/reboot.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-12-10 08:25:07 +0000
committerEric Andersen <andersen@codepoet.org>1999-12-10 08:25:07 +0000
commit2cb55077e2f65f17dbc8933eec47760bcc2a6ba1 (patch)
treea788718415ded192938d7c7a3661d0cab8cd8afe /init/reboot.c
parentc5ff0165adac767d37103baa875c2f86bb43c0e1 (diff)
downloadbusybox-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 'init/reboot.c')
-rw-r--r--init/reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/reboot.c b/init/reboot.c
index ff2c6ad18..1339a60f4 100644
--- a/init/reboot.c
+++ b/init/reboot.c
@@ -27,5 +27,5 @@ extern int
27reboot_main(int argc, char ** argv) 27reboot_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}