X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Futils%2Fbusybox%2Ffiles%2Fsysntpd;h=ebdda63df96dd10fcf102cea9eed2c385094213c;hp=d7a9807a87d144abcf8d82c8eea071e293b24faa;hb=a439b6bbbea3c1d4eb64c5f3b9d11846231314f4;hpb=1f6ec37044644328371347aeff398a203f42a4a0 diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd index d7a9807a87..ebdda63df9 100755 --- a/package/utils/busybox/files/sysntpd +++ b/package/utils/busybox/files/sysntpd @@ -5,7 +5,6 @@ START=98 USE_PROCD=1 PROG=/usr/sbin/ntpd -SERVICE_PID_FILE=/var/run/sysntpd.pid start_service() { local peers @@ -20,7 +19,7 @@ start_service() { procd_open_instance procd_set_param command "$PROG" -n - [ $enable_server -ne 0 ] && procd_append_param command -l + [ $enable_server -ne 0 ] && procd_append_param command -l [ -n "$peers" ] && { local peer for peer in $peers; do