diff options
author | Ermal <eri@pfsense.org> | 2010-08-20 15:48:40 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-08-20 15:48:40 +0000 |
commit | d09d53ac6906bdd1d94ced58872aec862e342898 (patch) | |
tree | 626b6757d47835d287ef5a3b3a4121d3ce1b2cbf /etc/rc.bootup | |
parent | 19b5c3e7f62f6c08ffef434a89a8c1147d21e82a (diff) | |
download | pfsense-d09d53ac6906bdd1d94ced58872aec862e342898.zip pfsense-d09d53ac6906bdd1d94ced58872aec862e342898.tar.gz |
When booting up do not try to configure ovpn[c|s] interfaces if present also try to configure openvpn eariler just after the interfaces have been setup.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 10 |
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 */ |