summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-07 03:27:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-07 03:27:23 +0000
commit562fca6d5692fc1f4343b2f2a8326b72a35065cb (patch)
tree50c0ee9b2776e6f6e476a51ad0592dd9ad41ec40 /usr/local
parent8435d6edf3c6c12b00c8f0be873af56151ccf1ac (diff)
downloadpfsense-562fca6d5692fc1f4343b2f2a8326b72a35065cb.zip
pfsense-562fca6d5692fc1f4343b2f2a8326b72a35065cb.tar.gz
Do not require a reboot to setup polling.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_advanced.php7
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;
OpenPOWER on IntegriCloud