From 4c95a28461b46f05787c07883c44319f7bfe33e3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 7 Jul 2000 19:30:28 +0000 Subject: [PATCH] Fix for bug #1003 -- BusyBox should now poweroff when asked to do so... Fix thanks to Matt Kraai -Erik --- init.c | 2 +- init/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init.c b/init.c index 0f6a9bc9b..35f2255b5 100644 --- a/init.c +++ b/init.c @@ -887,7 +887,7 @@ extern int init_main(int argc, char **argv) /* Set up sig handlers -- be sure to * clear all of these in run() */ signal(SIGUSR1, halt_signal); - signal(SIGUSR2, reboot_signal); + signal(SIGUSR2, halt_signal); signal(SIGINT, reboot_signal); signal(SIGTERM, reboot_signal); #if defined BB_FEATURE_INIT_CHROOT diff --git a/init/init.c b/init/init.c index 0f6a9bc9b..35f2255b5 100644 --- a/init/init.c +++ b/init/init.c @@ -887,7 +887,7 @@ extern int init_main(int argc, char **argv) /* Set up sig handlers -- be sure to * clear all of these in run() */ signal(SIGUSR1, halt_signal); - signal(SIGUSR2, reboot_signal); + signal(SIGUSR2, halt_signal); signal(SIGINT, reboot_signal); signal(SIGTERM, reboot_signal); #if defined BB_FEATURE_INIT_CHROOT -- 2.25.1