This adds an ESSENTIAL_PROCESSES shell variable to /etc/init.d/sshd.
The corresponding openwrt patch has the details.

Signed-off-by: Ryan Nowakowski <tuba...@fattuba.com>
---
 net/openssh/files/sshd.init |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/openssh/files/sshd.init b/net/openssh/files/sshd.init
index ecc44c3..1953159 100644
--- a/net/openssh/files/sshd.init
+++ b/net/openssh/files/sshd.init
@@ -3,6 +3,7 @@
 
 START=50
 STOP=50
+ESSENTIAL_PROCESSES="ssh sshd"
 
 SERVICE_USE_PID=1
 
-- 
1.7.9.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to