summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
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