From 7734aea648d609bbdf308d97f85d7d089c831d6f Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Wed, 17 Aug 2011 14:15:18 +1200 Subject: 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. --- etc/inc/openvpn.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/inc/openvpn.inc') 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") || -- cgit v1.1