mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Stop and start ftp helpers as necessary
This commit is contained in:
parent
c17b1f3cc4
commit
2bae67ba0a
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user