summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-25 17:47:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-25 17:47:46 +0000
commit2bae67ba0abe96b01e9bfcf46fcd4649d222e181 (patch)
tree9781cae4e2359cd745b933fc2dfb96c013713afb /usr/local/www
parentc17b1f3cc4cca0494d9700549c4540a279116ae2 (diff)
downloadpfsense-2bae67ba0abe96b01e9bfcf46fcd4649d222e181.zip
pfsense-2bae67ba0abe96b01e9bfcf46fcd4649d222e181.tar.gz
Stop and start ftp helpers as necessary
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_advanced.php2
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";
OpenPOWER on IntegriCloud