diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-24 08:37:40 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-24 08:37:40 +0000 |
commit | 68f5382407ed139acc678617ee8e2e65e997dd76 (patch) | |
tree | ae1501454140295f763be813a3bb7de7307842bb /package/network | |
parent | 1061f93476327a0f316fd5f59dcf9a1feffe0d7d (diff) | |
download | upstream-68f5382407ed139acc678617ee8e2e65e997dd76.tar.gz upstream-68f5382407ed139acc678617ee8e2e65e997dd76.tar.bz2 upstream-68f5382407ed139acc678617ee8e2e65e997dd76.zip |
dropbear: add respawn param in case dropbear crashes
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47033
Diffstat (limited to 'package/network')
-rwxr-xr-x | package/network/services/dropbear/files/dropbear.init | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |