diff options
author | Andrew Thompson <andrew@clonedev.co.nz> | 2011-08-17 14:12:27 +1200 |
---|---|---|
committer | Andrew Thompson <andrew@clonedev.co.nz> | 2011-08-17 14:12:27 +1200 |
commit | 3c6d704a4319878e0883a6177eda62a73a6f7871 (patch) | |
tree | 10e2851c1a33c67620c296211366aa25177d6ca8 /etc/inc/system.inc | |
parent | a26d95383a6146734f67c9db21cd83534052843a (diff) | |
download | pfsense-3c6d704a4319878e0883a6177eda62a73a6f7871.zip pfsense-3c6d704a4319878e0883a6177eda62a73a6f7871.tar.gz |
Revert "Make initial changes to allow pfSense to work in a jail."
This reverts commit a26d95383a6146734f67c9db21cd83534052843a.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 67505c4..cdf8b83 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -40,8 +40,6 @@ function activate_powerd() { global $config, $g; - if ($g['platform'] == 'jail') - return; if(isset($config['system']['powerd_enable'])) { if ($g["platform"] == "nanobsd") exec("/sbin/kldload cpufreq"); @@ -61,8 +59,6 @@ function get_default_sysctl_value($id) { function activate_sysctls() { global $config, $g; - if ($g['platform'] == 'jail') - return; exec("/sbin/sysctl net.enc.out.ipsec_bpf_mask=0x00000001"); exec("/sbin/sysctl net.enc.out.ipsec_filter_mask=0x00000001"); exec("/sbin/sysctl net.enc.in.ipsec_bpf_mask=0x00000002"); @@ -289,8 +285,6 @@ function system_hosts_generate() { function system_dhcpleases_configure() { global $config, $g; - if ($g['platform'] == 'jail') - return; /* Start the monitoring process for dynamic dhcpclients. */ if (isset($config['dnsmasq']['regdhcp'])) { /* Make sure we do not error out */ @@ -326,8 +320,6 @@ function system_hostname_configure() { function system_routing_configure($interface = "") { global $config, $g; - if ($g['platform'] == 'jail') - return; if(isset($config['system']['developerspew'])) { $mt = microtime(); echo "system_routing_configure() being called $mt\n"; @@ -1161,9 +1153,6 @@ function system_timezone_configure() { function system_ntp_configure() { global $config, $g; - if ($g['platform'] == 'jail') - return; - $ntpcfg = "# \n"; $ntpcfg .= "# pfSense OpenNTPD configuration file \n"; $ntpcfg .= "# \n\n"; |