From: Marc Ferland Date: Thu, 27 Jun 2013 22:53:40 +0000 (-0400) Subject: openssh: fix initscript restart command X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1832280f616fe7010260afb53bbc3b1c6d7ea08b;p=openembedded-core.git openssh: fix initscript restart command start-stop-daemon should be called with '--oknodo' instead of '-oknodo'. (From OE-Core master rev: 40f65a76b3291ae625c072a8efebbf134b15c367) Signed-off-by: Marc Ferland Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- 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 check_keys check_config echo -n "Restarting OpenBSD Secure Shell server: sshd" - start-stop-daemon -K -oknodo -x /usr/sbin/sshd + start-stop-daemon -K --oknodo -x /usr/sbin/sshd check_for_no_start check_privsep_dir sleep 2