diff options
author | Marc Ferland <ferlandm@sonatest.com> | 2013-06-27 18:53:40 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-09 10:53:57 +0100 |
commit | d7f8415cb2607c06b8bdfeaaa9f67f724965bb03 (patch) | |
tree | 8181e5d57559b915b413a1cf97b6019e3ea8cbcf /meta/recipes-connectivity | |
parent | d9efe9c485dba8fd44a9cbf27225e4227eea257b (diff) | |
download | poky-d7f8415cb2607c06b8bdfeaaa9f67f724965bb03.tar.gz |
openssh: fix initscript restart command
start-stop-daemon should be called with '--oknodo' instead of
'-oknodo'.
(From OE-Core master rev: 40f65a76b3291ae625c072a8efebbf134b15c367)
(From OE-Core rev: 1832280f616fe7010260afb53bbc3b1c6d7ea08b)
Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh-6.1p1/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh-6.1p1/init b/meta/recipes-connectivity/openssh/openssh-6.1p1/init index cde52ef3f4..6beec848df 100644 --- a/meta/recipes-connectivity/openssh/openssh-6.1p1/init +++ b/meta/recipes-connectivity/openssh/openssh-6.1p1/init | |||
@@ -76,7 +76,7 @@ case "$1" in | |||
76 | check_keys | 76 | check_keys |
77 | check_config | 77 | check_config |
78 | echo -n "Restarting OpenBSD Secure Shell server: sshd" | 78 | echo -n "Restarting OpenBSD Secure Shell server: sshd" |
79 | start-stop-daemon -K -oknodo -x /usr/sbin/sshd | 79 | start-stop-daemon -K --oknodo -x /usr/sbin/sshd |
80 | check_for_no_start | 80 | check_for_no_start |
81 | check_privsep_dir | 81 | check_privsep_dir |
82 | sleep 2 | 82 | sleep 2 |