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) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fiona Klute (WIWA) 2024-10-29 20:04:20 +01:00 committed by Thomas Petazzoni
parent 01177dcc81
commit b730a1ea02

View File

@ -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=$?