summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_advanced_misc.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-10 18:48:11 -0200
committerRenato Botelho <renato@netgate.com>2015-12-10 19:04:35 -0200
commit69eefb500b9c821715b5d3189368b91cec5744d2 (patch)
treec6145a47e6e7e81cf06e5dfc61b9a389a620f80a /src/usr/local/www/system_advanced_misc.php
parent7a012bff55a00f02c0aba3f246ad6bdd7f9a13f7 (diff)
downloadpfsense-69eefb500b9c821715b5d3189368b91cec5744d2.zip
pfsense-69eefb500b9c821715b5d3189368b91cec5744d2.tar.gz
Ticket #5624: Welcome dpinger!
Diffstat (limited to 'src/usr/local/www/system_advanced_misc.php')
-rw-r--r--src/usr/local/www/system_advanced_misc.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/usr/local/www/system_advanced_misc.php b/src/usr/local/www/system_advanced_misc.php
index b462849..422ca6f 100644
--- a/src/usr/local/www/system_advanced_misc.php
+++ b/src/usr/local/www/system_advanced_misc.php
@@ -88,7 +88,6 @@ $pconfig['thermal_hardware'] = $config['system']['thermal_hardware'];
$pconfig['schedule_states'] = isset($config['system']['schedule_states']);
$pconfig['kill_states'] = isset($config['system']['kill_states']);
$pconfig['skip_rules_gw_down'] = isset($config['system']['skip_rules_gw_down']);
-$pconfig['apinger_debug'] = isset($config['system']['apinger_debug']);
$pconfig['use_mfs_tmpvar'] = isset($config['system']['use_mfs_tmpvar']);
$pconfig['use_mfs_tmp_size'] = $config['system']['use_mfs_tmp_size'];
$pconfig['use_mfs_var_size'] = $config['system']['use_mfs_var_size'];
@@ -261,19 +260,6 @@ if ($_POST) {
unset($config['system']['skip_rules_gw_down']);
}
- $need_apinger_restart = false;
- if ($_POST['apinger_debug'] == "yes") {
- if (!isset($config['system']['apinger_debug'])) {
- $need_apinger_restart = true;
- }
- $config['system']['apinger_debug'] = true;
- } else {
- if (isset($config['system']['apinger_debug'])) {
- $need_apinger_restart = true;
- }
- unset($config['system']['apinger_debug']);
- }
-
if ($_POST['use_mfs_tmpvar'] == "yes") {
$config['system']['use_mfs_tmpvar'] = true;
} else {
@@ -309,9 +295,6 @@ if ($_POST) {
if ($need_relayd_restart) {
relayd_configure();
}
- if ($need_apinger_restart) {
- setup_gateways_monitor();
- }
}
}
@@ -519,14 +502,6 @@ $section->addInput(new Form_Checkbox(
'down, the rule is created omitting the gateway. This option overrides that '.
'behavior by omitting the entire rule instead.');
-$section->addInput(new Form_Checkbox(
- 'apinger_debug',
- 'Gateway monitoring logging',
- 'Enable debug logging',
- $pconfig['apinger_debug']
-))->setHelp('Enable this setting to log debug information from the gateway '.
- 'monitoring process to the system logs.');
-
$form->add($section);
$section = new Form_Section('RAM Disk Settings (Reboot to Apply Changes)');
OpenPOWER on IntegriCloud