From ac20f1d653e6a5236e4368d101051cb49842a07e Mon Sep 17 00:00:00 2001 From: Keith McRae Date: Wed, 18 Sep 2024 14:31:18 +0100 Subject: ntp: Fix status call reporting incorrect value The "status" function called by this script calls "pidof" to get the process id. "pidof" does not expect or operate with a full path. Signed-off-by: Khem Raj --- meta-networking/recipes-support/ntp/ntp/ntpd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/ntp/ntp/ntpd b/meta-networking/recipes-support/ntp/ntp/ntpd index d1b9c49076..a0c43ed5e5 100755 --- a/meta-networking/recipes-support/ntp/ntp/ntpd +++ b/meta-networking/recipes-support/ntp/ntp/ntpd @@ -72,7 +72,7 @@ case "$1" in startdaemon ;; status) - status /usr/sbin/ntpd; + status ntpd; exit $? ;; *) -- cgit v1.2.3-54-g00ecf