mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-26 15:03:27 +08:00
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:
parent
01177dcc81
commit
b730a1ea02
@ -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=$?
|
||||
|
Loading…
Reference in New Issue
Block a user