From ffde6843ea20648e3d80c0c4b83d46f43c10c955 Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (from Citadel PC)" Date: Sat, 11 Dec 2021 01:03:01 +0300 Subject: [PATCH] Up --- general/overlay/etc/init.d/S49ntpd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/general/overlay/etc/init.d/S49ntpd b/general/overlay/etc/init.d/S49ntpd index f161689d..a070ed98 100755 --- a/general/overlay/etc/init.d/S49ntpd +++ b/general/overlay/etc/init.d/S49ntpd @@ -3,7 +3,7 @@ DAEMON="ntpd" PIDFILE="/var/run/$DAEMON.pid" -NTPD_ARGS="" +NTPD_ARGS="-n" # shellcheck source=/dev/null [ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" @@ -14,7 +14,7 @@ start() { printf 'Starting %s: ' "$DAEMON" # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ - -- -n $NTPD_ARGS + -- $NTPD_ARGS status=$? if [ "$status" -eq 0 ]; then echo "OK"