ports/main/nnd-s6-services/rc/net/ntpd.1/run

12 lines
174 B
Plaintext
Executable File

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/core/path
importas -i PATH PATH
emptyenv
export PATH $PATH
define NTPS pool.ntp.org
fdmove -c 2 1
exec ntpd -n -dd -p ${NTPS}