summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.inc
diff options
context:
space:
mode:
authorAndrew Thompson <andrew@clonedev.co.nz>2011-08-17 14:15:18 +1200
committerAndrew Thompson <andrew@clonedev.co.nz>2011-08-17 14:15:18 +1200
commit7734aea648d609bbdf308d97f85d7d089c831d6f (patch)
tree44b364f02f771f54a5350c226459886068a3361a /etc/inc/openvpn.inc
parent8f9bffbc987a072b7d266011396726489ed92450 (diff)
downloadpfsense-7734aea648d609bbdf308d97f85d7d089c831d6f.zip
pfsense-7734aea648d609bbdf308d97f85d7d089c831d6f.tar.gz
Make initial changes to allow pfSense to work in a jail.
This mostly avoids starting things that will not work and gets the initial config. Most of the pfSense functionality will not work (pf rules, routing, etc) but it can be used for testing.
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r--etc/inc/openvpn.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 53f4a74..80b65a9 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -722,6 +722,8 @@ function openvpn_resync($mode, $settings) {
function openvpn_resync_all($interface = "") {
global $g, $config;
+ if ($g['platform'] == 'jail')
+ return;
// delay our setup until the system
// has a chance to init our paths
if (!file_exists($g['varetc_path']."/openvpn") ||
OpenPOWER on IntegriCloud