aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dropbear
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-24 08:37:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-24 08:37:40 +0000
commit68f5382407ed139acc678617ee8e2e65e997dd76 (patch)
treeae1501454140295f763be813a3bb7de7307842bb /package/network/services/dropbear
parent1061f93476327a0f316fd5f59dcf9a1feffe0d7d (diff)
downloadupstream-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/services/dropbear')
-rwxr-xr-xpackage/network/services/dropbear/files/dropbear.init1
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
}