[oe-commits] Marc Ferland : openssh: fix initscript restart command

git at git.openembedded.org git at git.openembedded.org
Tue Jul 9 09:46:00 UTC 2013


Module: openembedded-core.git
Branch: dylan
Commit: 1832280f616fe7010260afb53bbc3b1c6d7ea08b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1832280f616fe7010260afb53bbc3b1c6d7ea08b

Author: Marc Ferland <ferlandm at sonatest.com>
Date:   Thu Jun 27 18:53:40 2013 -0400

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 <ferlandm at sonatest.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../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 cde52ef..6beec84 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



More information about the Openembedded-commits mailing list