diff options
Diffstat (limited to 'usr/local/www/system_advanced.php')
-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; |