summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMarc Ferland <ferlandm@sonatest.com>2013-06-27 18:53:40 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-02 22:23:47 +0100
commit6ecba81678de7796dfdf1ec1686062cafd5bae96 (patch)
tree8813e1670a8cd367777f4001e4083ea1d43e2c9d /meta
parent8fc0d26f04303c29505b0d015baf9a90b7e60c90 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-connectivity/openssh/openssh-6.2p2/init2
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