diff options
author | Marc Ferland <ferlandm@sonatest.com> | 2013-06-27 18:53:40 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-02 22:23:47 +0100 |
commit | 6ecba81678de7796dfdf1ec1686062cafd5bae96 (patch) | |
tree | 8813e1670a8cd367777f4001e4083ea1d43e2c9d /meta/recipes-connectivity/openssh | |
parent | 8fc0d26f04303c29505b0d015baf9a90b7e60c90 (diff) | |
download | poky-6ecba81678de7796dfdf1ec1686062cafd5bae96.tar.gz |
openssh: fix initscript restart command
start-stop-daemon should be called with '--oknodo' instead of
'-oknodo'.
(From OE-Core rev: 40f65a76b3291ae625c072a8efebbf134b15c367)
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/openssh')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh-6.2p2/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh-6.2p2/init b/meta/recipes-connectivity/openssh/openssh-6.2p2/init index cde52ef3f4..6beec848df 100644 --- a/meta/recipes-connectivity/openssh/openssh-6.2p2/init +++ b/meta/recipes-connectivity/openssh/openssh-6.2p2/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 |