summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 6141d91..f150b80 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -228,6 +228,11 @@ if(!$debugging)
/* re-make hosts file after configuring interfaces */
system_hosts_generate();
+/* start OpenVPN server & clients */
+echo "Syncing OpenVPN settings...";
+openvpn_resync_all();
+echo "done.\n";
+
/* generate resolv.conf */
system_resolvconf_generate();
@@ -255,11 +260,6 @@ if (empty($config['system']['webgui']['backend']))
local_sync_accounts();
echo "done.\n";
-/* start OpenVPN server & clients */
-echo "Syncing OpenVPN settings...";
-openvpn_resync_all();
-echo "done.\n";
-
if($avail > 0 and $avail < 65) {
echo "System has less than 65 megabytes of ram {$avail}. Delaying webConfigurator startup.\n";
/* start webConfigurator up on final pass */
OpenPOWER on IntegriCloud