From b730a1ea024300d1e27b30691a136c02694c20f8 Mon Sep 17 00:00:00 2001 From: "Fiona Klute (WIWA)" Date: Tue, 29 Oct 2024 20:04:20 +0100 Subject: [PATCH] package/openssh: consistently use $DAEMON in start script output This was already done in start(), but not in stop() and reload(). Signed-off-by: Fiona Klute (WIWA) Signed-off-by: Thomas Petazzoni --- package/openssh/S50sshd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/openssh/S50sshd b/package/openssh/S50sshd index 7e5ccf079d..a5ff385acc 100644 --- a/package/openssh/S50sshd +++ b/package/openssh/S50sshd @@ -28,7 +28,7 @@ start() { } stop() { - printf "Stopping sshd: " + printf "Stopping %s: " "$DAEMON" start-stop-daemon --stop --pidfile "$PIDFILE" \ --exec "/usr/sbin/$DAEMON" status=$? @@ -50,7 +50,7 @@ restart() { } reload() { - printf "Reloading sshd config: " + printf "Reloading %s config: " "$DAEMON" start-stop-daemon --stop --signal HUP -q --pidfile "$PIDFILE" \ --exec "/usr/sbin/$DAEMON" status=$?