diff options
author | Renato Botelho <renato@netgate.com> | 2016-04-04 17:40:11 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-04-04 17:40:11 -0300 |
commit | 5a758355ec9a20ff75c9191b6915df64255fb8be (patch) | |
tree | 5249a1d9269008c8f434eb1919beca0f9699f9dc /src/etc/rc.bootup | |
parent | 67c934440521e8081d90850f4a10a40e82603db3 (diff) | |
download | pfsense-5a758355ec9a20ff75c9191b6915df64255fb8be.zip pfsense-5a758355ec9a20ff75c9191b6915df64255fb8be.tar.gz |
Ticket #6053
- Do not call ntpdate before start ntpd, ntpd -g parameter is enough
- Deprecate /usr/local/sbin/ntpdate_sync_once.sh
- Remove system_ntp_configure parameter and always start ntpd
Diffstat (limited to 'src/etc/rc.bootup')
-rwxr-xr-x | src/etc/rc.bootup | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/etc/rc.bootup b/src/etc/rc.bootup index 2a32a07..5c8b613 100755 --- a/src/etc/rc.bootup +++ b/src/etc/rc.bootup @@ -308,11 +308,9 @@ services_dnsmasq_configure(); /* start unbound service */ services_unbound_configure(); -/* Do an initial time sync */ +/* Enable ntpd */ echo "Starting NTP time client..."; -/* At bootup this will just write the config, ntpd will launch from ntpdate_sync_once.sh */ -system_ntp_configure(false); -mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh", true); +system_ntp_configure(); echo "done.\n"; /* start load balancer daemon */ |