diff options
author | Bogdan Purcareata <bogdan.purcareata@freescale.com> | 2013-11-26 13:54:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-26 13:54:48 +0100 |
commit | 760fc6debcba8cb5ca8d8e2252fac3757c453e11 (patch) | |
tree | fde19f0e554fd9839a3cfcd2cb20385f6e77c24b /shell/shell_common.c | |
parent | cffe28ef876a6fe8a8154321bf5feb409d87cf1a (diff) | |
download | busybox-760fc6debcba8cb5ca8d8e2252fac3757c453e11.tar.gz |
init: halt on SIGPWR too
Most init processes implement a handler for SIGPWR that gracefully
stops all child processes when shutting down a machine. Some other
technologies rely on this signal - e.g. Busybox powered LXC
containers.
This patch makes busybox init halt when receiving SIGPWR.
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/shell_common.c')
0 files changed, 0 insertions, 0 deletions