aboutsummaryrefslogtreecommitdiff
path: root/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 /reboot.c
parentc5ff0165adac767d37103baa875c2f86bb43c0e1 (diff)
downloadbusybox-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reboot.c b/reboot.c
index ff2c6ad18..1339a60f4 100644
--- a/reboot.c
+++ b/reboot.c
@@ -27,5 +27,5 @@ extern int
reboot_main(int argc, char ** argv)
{
/* don't assume init's pid == 1 */
- exit( kill(findInitPid(), SIGUSR2));
+ exit( kill(findInitPid(), SIGINT));
}