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

11 lines
169 B
Plaintext
Executable File

#!/bin/execlineb -P
s6-envdir -I /etc/s6/env/ntpd.1
importas -D 2.pool.ntp.org NTPS NTPS
s6-envdir -i /etc/s6/env/path
emptyenv -p
fdmove -c 2 1
ntpd -n -dd -p $NTPS