diff options
author | Christian Schoenebeck <christian.schoenebeck@gmail.com> | 2018-07-11 22:36:03 -0400 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-16 08:40:51 +0200 |
commit | 1e177844bc814d3846312c91cd0f7a54df4f32b9 (patch) | |
tree | 6fae5fc543fd6fcd68980f41f16bc8d25cf342bc /target/linux/apm821xx | |
parent | 82498a7f7aa86ad0e93ef60d50dccaa0a9549e4c (diff) | |
download | upstream-1e177844bc814d3846312c91cd0f7a54df4f32b9.tar.gz upstream-1e177844bc814d3846312c91cd0f7a54df4f32b9.tar.bz2 upstream-1e177844bc814d3846312c91cd0f7a54df4f32b9.zip |
dropbear: close all active clients on shutdown
Override the default shutdown action (stop) and close all processes
of dropbear
Since commit 498fe85, the stop action only closes the process
that's listening for new connections, maintaining the ones with
existing clients.
This poses a problem when restarting or shutting-down a device,
because the connections with existing SSH clients, like OpenSSH,
are not properly closed, causing them to hang.
This situation can be avoided by closing all dropbear processes when
shutting-down the system, which closes properly the connections with
current clients.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
[Luis: Rework commit message]
Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Diffstat (limited to 'target/linux/apm821xx')
0 files changed, 0 insertions, 0 deletions