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

10 lines
185 B
Plaintext
Executable File

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