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:11:42 -0200
commit4c6135c288444be99fbf18915e0e09d1d865ae25 (patch)
tree095fc5d1b10df7627019c7b7f134cb0bf83db9cf /src/etc/rc.bootup
parentbde382dd31f109555ac9d8873bc9f476044fe653 (diff)
downloadpfsense-4c6135c288444be99fbf18915e0e09d1d865ae25.zip
pfsense-4c6135c288444be99fbf18915e0e09d1d865ae25.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 83ca627..d10ebb2 100755
--- a/src/etc/rc.bootup
+++ b/src/etc/rc.bootup
@@ -227,6 +227,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";
@@ -245,18 +254,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