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:
parent
fa57f99a40
commit
f04b858cbd
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user