summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.bootup
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-12-08 11:11:42 -0200
committerRenato Botelho <renato@netgate.com>2016-12-08 11:14:02 -0200
commitb8f134475f7bd62266c49b40f911de1c64c2b600 (patch)
tree46258a48f4ebe8b80fae4b9d97c329b0e31cff33 /src/etc/rc.bootup
parent8b82942fde7605275285fe7baa3c543d2daabafd (diff)
downloadpfsense-b8f134475f7bd62266c49b40f911de1c64c2b600.zip
pfsense-b8f134475f7bd62266c49b40f911de1c64c2b600.tar.gz
Fix #6857
During boot local_sync_acocunts() should be able to access LDAP server on a non-local network or also resolve LDAP server hostname. To make it possible move calls to create static routes and start dnsmasq/unbound to run earlier
Diffstat (limited to 'src/etc/rc.bootup')
-rwxr-xr-xsrc/etc/rc.bootup18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/etc/rc.bootup b/src/etc/rc.bootup
index 59c1cb1..322a93d 100755
--- a/src/etc/rc.bootup
+++ b/src/etc/rc.bootup
@@ -304,6 +304,15 @@ echo "Setting up gateway monitors...";
setup_gateways_monitor();
echo "done.\n";
+/* set up static routes */
+system_routing_configure();
+
+/* start dnsmasq service */
+services_dnsmasq_configure();
+
+/* start unbound service */
+services_unbound_configure();
+
echo "Synchronizing user settings...";
local_sync_accounts();
echo "done.\n";
@@ -322,18 +331,9 @@ echo "Configuring CRON...";
configure_cron();
echo "done.\n";
-/* set up static routes */
-system_routing_configure();
-
/* enable routing */
system_routing_enable();
-/* start dnsmasq service */
-services_dnsmasq_configure();
-
-/* start unbound service */
-services_unbound_configure();
-
/* Enable ntpd */
echo "Starting NTP time client...";
system_ntp_configure();
OpenPOWER on IntegriCloud