From f04b858cbda16c8dcd6cfaf034ccc80cc9f2df84 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Tue, 1 Nov 2016 12:51:04 +0100 Subject: [PATCH] ntp: redirect output to /dev/null ntpd currently prints it output to tty which is not necessary since ntpd itself already logs to syslog if a syslog daemon is running. By redirecting output of the process to /dev/null (stdout and stderr), this is avoided. --- srcpkgs/ntp/files/isc-ntpd/run | 2 +- srcpkgs/ntp/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ntp/files/isc-ntpd/run b/srcpkgs/ntp/files/isc-ntpd/run index a922460174e..7206f7602e0 100755 --- a/srcpkgs/ntp/files/isc-ntpd/run +++ b/srcpkgs/ntp/files/isc-ntpd/run @@ -1,2 +1,2 @@ #!/bin/sh -exec ntpd -g -u ntpd:ntpd -n 2>&1 +exec ntpd -g -u ntpd:ntpd -n >/dev/null 2>&1 diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index 939a3ed393a..a2050786577 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -1,7 +1,7 @@ # Template file for 'ntp' pkgname=ntp version=4.2.8p8 -revision=3 +revision=4 build_style=gnu-configure configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd --enable-all-clocks ol_cv_pthread_select_yields=yes"