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

15 lines
200 B
Plaintext
Executable File

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