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.
This commit is contained in:
Helmut Pozimski 2016-11-01 12:51:04 +01:00
parent fa57f99a40
commit f04b858cbd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"