summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.bootup
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-04-04 17:40:11 -0300
committerRenato Botelho <renato@netgate.com>2016-04-04 17:40:11 -0300
commit5a758355ec9a20ff75c9191b6915df64255fb8be (patch)
tree5249a1d9269008c8f434eb1919beca0f9699f9dc /src/etc/rc.bootup
parent67c934440521e8081d90850f4a10a40e82603db3 (diff)
downloadpfsense-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-xsrc/etc/rc.bootup6
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 */
OpenPOWER on IntegriCloud