From 68f5382407ed139acc678617ee8e2e65e997dd76 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 24 Sep 2015 08:37:40 +0000 Subject: [PATCH] dropbear: add respawn param in case dropbear crashes Signed-off-by: Alexandru Ardelean SVN-Revision: 47033 --- package/network/services/dropbear/files/dropbear.init | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init index 01d88afd17d..03745c995b2 100755 --- a/package/network/services/dropbear/files/dropbear.init +++ b/package/network/services/dropbear/files/dropbear.init @@ -79,6 +79,7 @@ dropbear_instance() [ "${IdleTimeout}" -ne 0 ] && procd_append_param command -I "${IdleTimeout}" [ "${SSHKeepAlive}" -ne 0 ] && procd_append_param command -K "${SSHKeepAlive}" [ "${mdns}" -ne 0 ] && procd_add_mdns "ssh" "tcp" "$Port" "daemon=dropbear" + procd_set_param respawn procd_close_instance } -- 2.30.2