[OpenWrt-Devel] [PATCH] dropbear: add respawn param in case dropbear crashes
Alexandru Ardelean
ardeleanalex at gmail.com
Thu Sep 17 09:09:56 EDT 2015
Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com>
---
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 01d88af..03745c9 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.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list