From: Felix Fietkau Date: Thu, 24 Sep 2015 08:37:40 +0000 (+0000) Subject: dropbear: add respawn param in case dropbear crashes X-Git-Tag: reboot~1922 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=68f5382407ed139acc678617ee8e2e65e997dd76;p=oweals%2Fopenwrt.git dropbear: add respawn param in case dropbear crashes Signed-off-by: Alexandru Ardelean SVN-Revision: 47033 --- diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init index 01d88afd17..03745c995b 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 }