From ad27dcc94131404bd61c840b760b2f2b10b4104a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 25 Jan 2017 11:37:36 +0100 Subject: [PATCH] grep for ntpd --- modules/ntp/files/ntp-restart-if-required | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ntp/files/ntp-restart-if-required b/modules/ntp/files/ntp-restart-if-required index f8ea5cc78..f541c06a3 100755 --- a/modules/ntp/files/ntp-restart-if-required +++ b/modules/ntp/files/ntp-restart-if-required @@ -7,7 +7,7 @@ rc=$? case "$rc" in 1|2) - pid=$(pgrep -u ntp ntp) + pid=$(pgrep -u ntp ntpd) if [ -z "$pid" ]; then service ntp restart exit -- 2.20.1