Helmut Pozimski f04b858cbd 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.
2016-11-06 18:00:35 +01:00

3 lines
55 B
Bash
Executable File

#!/bin/sh
exec ntpd -g -u ntpd:ntpd -n >/dev/null 2>&1