blob: 888bab45d3611b3f23395657a9b4c7d62a823370 (
plain) (
tree)
|
|
#!/bin/sh
# Jails don't need NTP.
if [ "$BOXCONF_VIRTUALIZATION_TYPE" = jail ]; then
return
fi
install_template -m 0644 /etc/ntp.conf
sysrc -v \
ntpd_enable=YES \
ntpd_sync_on_start=YES
service ntpd restart
|