From 562fca6d5692fc1f4343b2f2a8326b72a35065cb Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 7 Nov 2005 03:27:23 +0000 Subject: Do not require a reboot to setup polling. --- usr/local/www/system_advanced.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usr/local') 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; -- cgit v1.1