openwrtv3/package
Christian Schoenebeck 1e177844bc 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>
2018-07-16 08:40:51 +02:00
..
base-files include/feeds.mk: rework generation of opkg distfeeds.conf 2018-07-12 21:18:41 +02:00
boot uboot-imx: bump to 2018.03 which fixes the build issues with fdt64_t redefinitions 2018-07-07 18:33:57 +02:00
devel perf: remove linux 4.4 workarounds 2018-07-07 14:53:26 +02:00
firmware firmware: amd64-microcode: update to 20180524 2018-07-07 12:23:00 +02:00
kernel mt76: update to the latest version 2018-07-13 16:36:56 +02:00
libs libnl: bump to 3.4.0 2018-07-07 18:33:58 +02:00
network dropbear: close all active clients on shutdown 2018-07-16 08:40:51 +02:00
system mtd: improve check for TRX header being already fixed 2018-07-15 23:27:09 +02:00
utils busybox: compile with LTO enabled 2018-07-13 17:22:53 +02:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00