diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-07 03:27:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-07 03:27:23 +0000 |
commit | 562fca6d5692fc1f4343b2f2a8326b72a35065cb (patch) | |
tree | 50c0ee9b2776e6f6e476a51ad0592dd9ad41ec40 /usr/local | |
parent | 8435d6edf3c6c12b00c8f0be873af56151ccf1ac (diff) | |
download | pfsense-562fca6d5692fc1f4343b2f2a8326b72a35065cb.zip pfsense-562fca6d5692fc1f4343b2f2a8326b72a35065cb.tar.gz |
Do not require a reboot to setup polling.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_advanced.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index 03a1ade..86b3826 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -116,10 +116,13 @@ if ($_POST) { $oldsshport = $config['system']['ssh']['port']; $config['system']['ssh']['port'] = $_POST['sshport']; - if($_POST['polling_enable'] == "yes") + if($_POST['polling_enable'] == "yes") { $config['system']['polling'] = true; - else + setup_polling(); + } else { unset($config['system']['polling']); + setup_polling(); + } if($_POST['sharednet'] == "yes") { $config['system']['sharednet'] = true; |