diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-31 05:45:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-31 05:45:00 +0000 |
commit | f6efd9a574d363736e1392b349a84205f77a4735 (patch) | |
tree | c14a08e03dda1d049a89b9710abd1b94a9d60e38 /usr | |
parent | c394a5d18df7742c5aa20318ff27e3f4acb6b6ae (diff) | |
download | pfsense-f6efd9a574d363736e1392b349a84205f77a4735.zip pfsense-f6efd9a574d363736e1392b349a84205f77a4735.tar.gz |
Write out posted sshenabled value
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_advanced.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index 9fd2f1d..376f336 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -152,6 +152,12 @@ if ($_POST) { $config['system']['schedulertype'] = $_POST['schedulertype']; $config['system']['maximumstates'] = $_POST['maximumstates']; + if($_POST['sshenabled'] == "yes") { + $config['system']['sshenabled'] = $_POST['sshenabled']; + } else { + unset($config['system']['sshenabled']); + } + $config['ipsec']['preferoldsa'] = $_POST['preferoldsa_enable'] ? true : false; /* pfSense themes */ |