From 2bae67ba0abe96b01e9bfcf46fcd4649d222e181 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 25 Jun 2005 17:47:46 +0000 Subject: [PATCH] Stop and start ftp helpers as necessary --- usr/local/www/system_advanced.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index 72d753da93..b44662822c 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -93,8 +93,10 @@ if ($_POST) { if($_POST['disableftpproxy'] == "yes") { $config['system']['disableftpproxy'] = "enabled"; unset($config['system']['rfc959workaround']); + system_start_ftp_helpers(); } else { unset($config['system']['disableftpproxy']); + mwexec("/usr/bin/killall pftpx"); } if($_POST['rfc959workaround'] == "yes") $config['system']['rfc959workaround'] = "enabled";