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

git at git.openembedded.org git at git.openembedded.org
Tue Jul 2 21:20:43 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 40f65a76b3291ae625c072a8efebbf134b15c367
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=40f65a76b3291ae625c072a8efebbf134b15c367

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'.

Signed-off-by: Marc Ferland <ferlandm at sonatest.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

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