diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-25 17:47:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-25 17:47:46 +0000 |
commit | 2bae67ba0abe96b01e9bfcf46fcd4649d222e181 (patch) | |
tree | 9781cae4e2359cd745b933fc2dfb96c013713afb /usr/local | |
parent | c17b1f3cc4cca0494d9700549c4540a279116ae2 (diff) | |
download | pfsense-2bae67ba0abe96b01e9bfcf46fcd4649d222e181.zip pfsense-2bae67ba0abe96b01e9bfcf46fcd4649d222e181.tar.gz |
Stop and start ftp helpers as necessary
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_advanced.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index 72d753d..b446628 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"; |