mirror of
https://git.yoctoproject.org/poky
synced 2026-04-07 23:02:22 +02:00
openssh: fix initscript restart command
start-stop-daemon should be called with '--oknodo' instead of '-oknodo'. (From OE-Core master rev: 40f65a76b3291ae625c072a8efebbf134b15c367) (From OE-Core rev: 1832280f616fe7010260afb53bbc3b1c6d7ea08b) 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>
This commit is contained in:
committed by
Richard Purdie
parent
d9efe9c485
commit
d7f8415cb2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user